[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit eef49f90e14dbe1647aff7d53a54cbd06bb747c6
Author: hiro <hiro@xxxxxxxxxxxxxx>
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')

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits