Commits

Richard Jones  committed 41362f5

ugh

  • Participants
  • Parent commits 01727b1

Comments (0)

Files changed (1)

File 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')