forked from rDrama/rDrama
1
0
Fork 0

dont change extension since we copy the encoding

master
Aevann 2023-07-28 19:44:09 +03:00
parent f16d107ba5
commit ab62bc501e
1 changed files with 0 additions and 3 deletions

View File

@ -82,9 +82,6 @@ def process_audio(file, v):
name_original = secure_filename(file.filename)
extension = name_original.split('.')[-1].lower()
if extension not in {'mp3','ogg','flac','m4a'}:
extension = 'mp3'
new = old + '.' + extension
try: