From 970d53b978e8e01f156e1f6243674f3a4b0b2c7b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Dec 2021 03:19:28 +0200 Subject: [PATCH] gfd --- files/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 9452d1a9c..1ca388280 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -656,7 +656,7 @@ def agendaposter(user_id, v): expiry = request.values.get("days", 0) if expiry: - expiry = int(expiry) + expiry = float(expiry) expiry = g.timestamp + expiry*60*60*24 else: expiry = 0