fix 500 error

master
Aevann1 2022-09-10 05:13:12 +02:00
parent d2186258c2
commit 34f95d155c
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ def agendaposter(user_id, v):
days = request.values.get("days") days = request.values.get("days")
if days: if days:
expiry = int(time.time() + int(days)*60*60*24) expiry = int(time.time() + float(days)*60*60*24)
else: expiry = 1 else: expiry = 1
user.agendaposter = expiry user.agendaposter = expiry