From 2cf9c7560f9969f1d89b4e298e3dffde1c63cad2 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 1 Oct 2022 18:29:16 +0200 Subject: [PATCH] remove unused legacy function --- files/helpers/media.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/files/helpers/media.py b/files/helpers/media.py index 7aec7de98..4ca2c3356 100644 --- a/files/helpers/media.py +++ b/files/helpers/media.py @@ -29,11 +29,6 @@ def process_files(): return body -def process_other(file): - req = requests.post("https://pomf2.lain.la/upload.php", files={'files[]': file}, timeout=20).json() - return req['files'][0]['url'] - - def process_audio(file): name = f'/audio/{time.time()}'.replace('.','')