[SUCS Devel] [Git][sucs/accountmanager][master] Auto update door to no longer allow deleted members in

Imran Hussain imranh at sucs.org
Thu Apr 25 19:44:13 BST 2019


Imran Hussain pushed to branch master at sucs / accountmanager


Commits:
480fd271 by Imran Hussain at 2019-04-25T18:43:08Z
Auto update door to no longer allow deleted members in

- - - - -


1 changed file:

- sucsam.py


Changes:

=====================================
sucsam.py
=====================================
@@ -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")))



View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/480fd271c6beebcf79ede090c10d506277378028

-- 
View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/480fd271c6beebcf79ede090c10d506277378028
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/devel/attachments/20190425/776170f1/attachment-0001.html>


More information about the Devel mailing list