bug fix
This commit is contained in:
@@ -29,6 +29,7 @@ class Command(BaseCommand):
|
|||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
expiredrowers = getexpired()
|
expiredrowers = getexpired()
|
||||||
|
|
||||||
|
if len(expiredrowers) > 0:
|
||||||
fullemail = 'roosendaalsander@gmail.com'
|
fullemail = 'roosendaalsander@gmail.com'
|
||||||
subject = "Expired rowers report"
|
subject = "Expired rowers report"
|
||||||
message = "Dear Sander,\n\n"
|
message = "Dear Sander,\n\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user