From 440f6a1ff5575ae1b7896c7ab8c681f6807bce6a Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 14 Oct 2023 22:31:52 +0300 Subject: [PATCH] account for break --- files/routes/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/admin.py b/files/routes/admin.py index be9185ffae..a1de4cc039 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1995,6 +1995,8 @@ def schedule_orgy(v): if duration: duration = int(duration) + if duration > 3000: + duration += 300 #account for break end_utc = int(start_utc + duration) else: end_utc = None