[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [trac-email/master] Add quick fix to else case
commit ebce28f2f7bdaf3933550aed8d3852487034bef1
Author: hiromipaw <hiro@xxxxxxxxxxxxxx>
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():
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits