From 85379a78e28aef05940ed256e53b27c0b6a5042e Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 6 Jun 2011 16:20:23 +0200 Subject: [PATCH] send announce to 2 mailing lists --- README | 8 ++++++++ announcer.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..a09d220 --- /dev/null +++ b/README @@ -0,0 +1,8 @@ +Various utilities + +annoncer.py +- send email once a week informing about upcoming events + +barcodes.py +- generates CODE-128 barcodes using zint + diff --git a/announcer.py b/announcer.py index b70877a..9fb53f8 100755 --- a/announcer.py +++ b/announcer.py @@ -9,7 +9,7 @@ from email.mime.text import MIMEText url = "http://brmlab.cz/_export/raw/event/start" smtp_server = "localhost" -dest_addr = "announce@brmlab.cz, brmlab@brmlab.cz" +dest_addr = ("announce@brmlab.cz", "brmlab@brmlab.cz") src = urllib2.urlopen(url) now = datetime.datetime.now()