forked from rDrama/rDrama
dont put abort inside a gevent func
parent
feec6740d1
commit
a2eeefc058
|
@ -116,7 +116,7 @@ def convert_to_mp4(old, new, vid):
|
||||||
os.remove(old)
|
os.remove(old)
|
||||||
if os.path.isfile(tmp):
|
if os.path.isfile(tmp):
|
||||||
os.remove(tmp)
|
os.remove(tmp)
|
||||||
abort(400)
|
return
|
||||||
|
|
||||||
os.replace(tmp, new)
|
os.replace(tmp, new)
|
||||||
os.remove(old)
|
os.remove(old)
|
||||||
|
|
Loading…
Reference in New Issue