account for break

pull/216/head
Aevann 2023-10-14 22:31:52 +03:00
parent 672d6f82f7
commit 440f6a1ff5
1 changed files with 2 additions and 0 deletions

View File

@ -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