fix 500 error

master
Aevann 2023-09-18 14:40:29 +03:00
parent 1ba8cc038a
commit 5347f58382
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def process_files(files, v, body, is_dm=False, dm_user=None):
return body.replace('\n ', '\n') return body.replace('\n ', '\n')
def process_audio(file, v, old): def process_audio(file, v, old=None):
if not old: if not old:
old = f'/audio/{time.time()}'.replace('.','') old = f'/audio/{time.time()}'.replace('.','')