From 9e27bee7e6b1f861aee963c85a4e7df9504c16a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Piboub=C3=A8s?= Date: Thu, 20 Aug 2015 13:24:34 +0200 Subject: [PATCH] Quickfix --- rtv/oauth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtv/oauth.py b/rtv/oauth.py index 3377fc2..3cf245d 100644 --- a/rtv/oauth.py +++ b/rtv/oauth.py @@ -158,9 +158,10 @@ class OAuthTool(object): elif self.final_error != 'error_placeholder': show_notification(self.stdscr, ['Authentication error']) return + # Check if UUID matches obtained state # (if not, authorization process is compromised, and I'm giving up) - elif hex_uuid != self.final_state: + if hex_uuid != self.final_state: show_notification(self.stdscr, ['UUID mismatch, stopping.']) return