From 10461fa27ef72d8487ebc5299ce5bca4968d2179 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 13 Oct 2023 17:35:42 +0300 Subject: [PATCH] sigh --- files/routes/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 5420ed64e..4e763ae08 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1988,8 +1988,8 @@ def schedule_orgy(v): pass else: seconds = float(video_info['streams'][0]['duration']) - if seconds > 2.0: - end_utc = int(start_utc + seconds) + if seconds == 2.0: raise + end_utc = int(start_utc + seconds) else: abort(400)