[SUCS Devel] [Git][sucs/accountmanager][master] disable emailing associates as we are just annoying them when they have already paid

Imran Hussain imranh at sucs.org
Mon Mar 18 12:52:48 GMT 2019


Imran Hussain pushed to branch master at sucs / accountmanager


Commits:
3c414d8e by Imran Hussain at 2019-03-18T12:52:16Z
disable emailing associates as we are just annoying them when they have already paid

- - - - -


1 changed file:

- sucsam.py


Changes:

=====================================
sucsam.py
=====================================
@@ -383,8 +383,9 @@ def reminderMenu():
 			print(str(student[0]) + " last paid: " + str(student[1]))
 		for soc in societiesBad:
 			print(str(soc[0]) + " last paid: " + str(soc[1]))
-		for ass in associatesBad:
-			print(str(ass[0]) + " last paid: " + str(ass[1]))
+		print("Not emailing associates as we don't have a programatic way of checking their status.")
+		#for ass in associatesBad:
+		#	print(str(ass[0]) + " last paid: " + str(ass[1]))
 		reminderMenu()
 	if option == "2":
 		if len(studentsBad) > 0:
@@ -400,8 +401,9 @@ def reminderMenu():
 		if len(societiesBad) > 0:
 			sendReminderEmail(societiesBad)
 	if option == "2.3":
-		if len(associatesBad) > 0:
-			sendReminderEmail(associatesBad)
+		print("Not emailing associates as we don't have a programatic way of checking their status.")
+		#if len(associatesBad) > 0:
+		#	sendReminderEmail(associatesBad)
 	if option == "0":
 		mainMenu()
 	else:



View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/3c414d8ed2f4d68085ab68e0eec3ebffcfc02caf

-- 
View it on GitLab: https://projects.sucs.org/sucs/accountmanager/commit/3c414d8ed2f4d68085ab68e0eec3ebffcfc02caf
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/20190318/234c8dee/attachment.html>


More information about the Devel mailing list