[tor-commits] [gettor/master] Update check script

hiro at torproject.org hiro at torproject.org
Mon Sep 30 16:14:06 UTC 2019


commit eef49f90e14dbe1647aff7d53a54cbd06bb747c6
Author: hiro <hiro at torproject.org>
Date:   Mon Sep 30 18:14:05 2019 +0200

    Update check script
---
 scripts/check_service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/check_service b/scripts/check_service
index 9c2375d..4cdaa15 100644
--- a/scripts/check_service
+++ b/scripts/check_service
@@ -61,6 +61,7 @@ def test_email_from_gmail(password):
 
                     if (MESSAGE_FROM == email_from) and (MESSAGE_SUBJECT == email_subject) and (MESSAGE_BODY in email_body):
                         mail.store(str(i), '+FLAGS', '\\Deleted')
+                        mail.close()
                         return OK, "GetTor is good and sending emails with working links"
                     else:
                         mail.store(str(i), '+FLAGS', '\\Deleted')



More information about the tor-commits mailing list