Commit 480fd271 authored by Imran Hussain's avatar Imran Hussain
Browse files

Auto update door to no longer allow deleted members in

parent 0a469832
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -354,6 +354,10 @@ def deleteUser(peopleList):
		DBconn.commit()
		cur.close()

		# call the script to update door
		# /usr/local/bin/db-to-cards.sh
		subprocess.call(['/usr/local/bin/db-to-cards.sh'])

		# notify people
		# us
		print(username + " was successfully deleted on " + str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))