Commits

Richard Jones committed 41362f5

ugh

Comments (0)

Files changed (1)

tools/pw_reset_mailout.py

     else:
         with open(sys.argv[1]) as f:
             for name, email in csv.reader(f):
-                message = TEXT % locals()
+                message = TEXT.format(name=name, email=email)
                 # send email
                 s = smtplib.SMTP()
                 s.connect('localhost')