From 5347f58382f2945f62ba22c3e852008b85391789 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 18 Sep 2023 14:40:29 +0300 Subject: [PATCH] fix 500 error --- files/helpers/media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/media.py b/files/helpers/media.py index fa610ad50..bd3c4aef9 100644 --- a/files/helpers/media.py +++ b/files/helpers/media.py @@ -74,7 +74,7 @@ def process_files(files, v, body, is_dm=False, dm_user=None): return body.replace('\n ', '\n') -def process_audio(file, v, old): +def process_audio(file, v, old=None): if not old: old = f'/audio/{time.time()}'.replace('.','')