2
0
mirror of https://github.com/codl/forget synced 2025-01-09 14:12:32 +01:00
This commit is contained in:
codl 2017-09-03 01:23:54 +02:00
parent ae093c504c
commit 93ab3294ce
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A

View File

@ -200,7 +200,8 @@ def enable():
else "" }
Go ahead?
""")
if (g.viewer.account.next_delete <
if (not g.viewer.account.last_delete or
g.viewer.account.last_delete <
datetime.now(timezone.utc) - timedelta(days=365)):
return render_template(
'warn.html',