Commit 580c9c0e authored by Imran Hussain's avatar Imran Hussain
Browse files

Don't ask people who've asked to be deleted to renew

parent f181ddce
......@@ -56,6 +56,11 @@ def stripFuturePeople(listofpeeps):
# then from that find the right email text file and send
# easy peasy
def sendReminderEmail(listofpeeps):
# if somenes been marked as delete, don't remind them to renew
for person in listofpeeps:
if person[1] == "delete":
for person in listofpeeps:
cur = DBconn.cursor()
cur.execute("SELECT * from members WHERE username=%(user)s",{"user" : person[0]})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment