[tor-commits] [gettor/master] Fix typo in script

hiro at torproject.org hiro at torproject.org
Fri Sep 27 16:45:00 UTC 2019


commit 5989fc55af8a4b0045615bea15927a27bdbf1f75
Author: hiro <hiro at torproject.org>
Date:   Fri Sep 27 18:44:56 2019 +0200

    Fix typo in script
---
 scripts/check_service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/check_service b/scripts/check_service
index 38bb1a2..b5b7c31 100644
--- a/scripts/check_service
+++ b/scripts/check_service
@@ -87,7 +87,7 @@ def send_email_from_gmail(password):
         server = smtplib.SMTP_SSL('smtp.gmail.com', 465)
         server.ehlo()
         server.login(sent_from, password)
-        server.sendmail(sent_from, to, email_text)
+        server.sendmail(sent_from, sent_to, email_text)
         server.close()
     except Exception as e:
         return UNKNOWN, str(e)



More information about the tor-commits mailing list