[trac-email/master] Add quick fix to else case

14 Dec
2016
14 Dec
'16
2:37 p.m.
commit ebce28f2f7bdaf3933550aed8d3852487034bef1 Author: hiromipaw <hiro@torproject.org> Date: Wed Dec 14 15:37:46 2016 +0100 Add quick fix to else case --- notify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/notify.py b/notify.py index cf0bae0..0ae60b7 100755 --- a/notify.py +++ b/notify.py @@ -22,7 +22,9 @@ def verify_email_signature(message, user): k = row[0] u = row[1].strip() if k == verified.fingerprint and u == user: - return verified + return True + else: + return False def get_message_body(message): if message.is_multipart():
3110
Age (days ago)
3110
Last active (days ago)
0 comments
1 participants
participants (1)
-
hiro@torproject.org