dont put abort inside a gevent func

pull/173/head
Aevann 2023-07-23 18:16:00 +03:00
parent feec6740d1
commit a2eeefc058
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ def convert_to_mp4(old, new, vid):
os.remove(old)
if os.path.isfile(tmp):
os.remove(tmp)
abort(400)
return
os.replace(tmp, new)
os.remove(old)