Commit 5a4d53a7 authored by Imran Hussain's avatar Imran Hussain
Browse files

fix a bug and add a deletion completion message

parent 2d57b684
......@@ -325,6 +325,8 @@ def deleteUser(peopleList):
cur.close()
# notify people
# us
print(username + " was successfully deleted on " + str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
# them
emailDeletedUser(userDBinfo)
# logs@
......@@ -424,7 +426,7 @@ def deleteMenu(deleteArray):
print("Adding " + str(soc[0]) + " to the list because the DB says: " + str(soc[1]))
deleteArray.append(soc[0])
for ass in associatesBad:
if ass == "delete":
if ass[1] == "delete":
print("Adding " + str(ass[0]) + " to the list because the DB says: " + str(ass[1]))
deleteArray.append(ass[0])
deleteMenu(deleteArray)
......
Markdown is supported
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