This commit is contained in:
codl 2017-09-20 12:58:16 +02:00
parent 53c2e8a023
commit b0b17ae39f
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 2 deletions

View File

@ -166,8 +166,7 @@ def delete_from_account(account_id):
account.touch_delete()
action(to_delete)
else:
account.next_delete = (
max(account.next_delete, db.func.now() + timedelta(minutes=3)))
account.next_delete = db.func.now() + timedelta(minutes=3)
db.session.commit()