mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-19 05:58:34 +02:00
@@ -12,7 +12,7 @@ from modoboa.extensions.postfix_autoreply.models import ARmessage, ARhistoric
|
||||
|
||||
def send_autoreply(sender, mailbox, armessage):
|
||||
if armessage.untildate is not None \
|
||||
and armessage.untildate < datetime.date.today():
|
||||
and armessage.untildate < datetime.datetime.today():
|
||||
armessage.enabled = False
|
||||
armessage.save()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user