From 59159ee79bbe21988efc2db09e039d3c9f69c40d Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 15 Mar 2023 04:49:26 +0200 Subject: [PATCH] fix last commit --- 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 5f1bab3a1..3b756c37d 100644 --- a/files/helpers/media.py +++ b/files/helpers/media.py @@ -57,7 +57,7 @@ def process_files(files, v, body): name = f'/images/{time.time()}'.replace('.','') + '.webp' file.save(name) url = process_image(name, v) - body = body.replace(f'[{file.filename}]', f'{url} ', 1) + body = body.replace(f'[{file.filename}]', f'{url} ', 1) elif file.content_type.startswith('video/'): body = body.replace(f'[{file.filename}]', process_video(file, v), 1) elif file.content_type.startswith('audio/'):