mp4 supremacy

master
Aevann 2023-07-28 19:40:44 +03:00
parent 85938e9461
commit f16d107ba5
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ def process_video(file, v):
extension = name_original.split('.')[-1].lower()
new = old + '.' + extension
if extension not in {'mp4','avi','mkv'}:
if extension != 'mp4':
new = new.replace(f'.{extension}', '.mp4')
copyfile(old, new)
gevent.spawn(convert_to_mp4, old, new)