forked from MarseyWorld/MarseyWorld
fix 500 error
parent
1ba8cc038a
commit
5347f58382
|
@ -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('.','')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue