* adds new command to be used with cron for periodic checkin of resubmissions
* updates translations
This commit is contained in:
2022-08-15 10:02:07 +02:00
parent 4f02e8ee1b
commit 8bce8b8e75
5 changed files with 226 additions and 127 deletions

View File

@@ -35,7 +35,7 @@ class Resubmission(BaseResource):
""" Sends a resubmission mail
"""
_today = today()
_today = today().date()
resubmission_handled = _today.__ge__(self.resubmit_on) and self.resubmission_sent
if resubmission_handled:
return