Loading sucsam.py +4 −0 Original line number Diff line number Diff line Loading @@ -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"))) Loading Loading
sucsam.py +4 −0 Original line number Diff line number Diff line Loading @@ -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"))) Loading