fix error

pull/215/head
Aevann 2023-10-07 03:08:31 +03:00
parent 10e2dfab05
commit 3d930f6aae
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ def _create_post(title, body, pin_hours):
def _create_and_delete_orgy():
video_info = ffmpeg.probe(f'/orgies/{get_file()}')
seconds = int(video_info['streams'][0]['duration'])
seconds = float(video_info['streams'][0]['duration'])
end_utc = int(time.time() + seconds)
orgy = Orgy(