1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Add 1 year expiration time

This commit is contained in:
Nicolas B
2018-07-04 08:14:02 +02:00
parent 7da1615d41
commit 58ebea6e6e
4 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,7 @@ class Paste(object):
DURATIONS = {
'1_day': 24 * 3600,
'1_month': 30 * 24 * 3600,
'1_year': 365 * 24 * 3600,
'never': 365 * 24 * 3600 * 100,
}