Command
* adds new command to be used with cron for periodic checkin of resubmissions * updates translations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user