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

[tor-commits] [doctor/master] Correcting issue that caused script errors to still go to the list



commit f1d14d4cb67fe592bf2820f4f584eb8ee5656dde
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Sat Sep 14 10:39:29 2013 -0700

    Correcting issue that caused script errors to still go to the list
    
    Oops! Looks like there was a second spot where TO_ADDRESS was referenced.
    Fixing it so further script errors go to me rather than the list.
---
 util.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.py b/util.py
index a1837b7..4874327 100644
--- a/util.py
+++ b/util.py
@@ -112,7 +112,7 @@ def send(subject, body_text = None, body_html = None, attachment = None, destina
   server = smtplib.SMTP('smtp.gmail.com:587')
   server.starttls()
   server.login(FROM_ADDRESS, _get_password())
-  server.sendmail(FROM_ADDRESS, [TO_ADDRESS], msg.as_string())
+  server.sendmail(FROM_ADDRESS, [destination], msg.as_string())
   server.quit()
 
 

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