From e8a26d2c96da4f2f871943da1cd17318ace5750b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Nov 2024 02:04:57 +0200 Subject: [PATCH] remove print-debugging --- files/routes/posts.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index a46c19e6e..66307e8d1 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -671,9 +671,6 @@ def submit_post(v, hole=None): ) g.db.add(vote) - print(p.url, flush=True) - print(SITE_FULL_VIDEOS, flush=True) - if request.files.get('file-url') and not g.is_tor: file = request.files['file-url'] @@ -697,9 +694,7 @@ def submit_post(v, hole=None): stop(415) elif p.url and p.url.startswith(SITE_FULL_VIDEOS): filename = '/videos' + p.url.split(SITE_FULL_VIDEOS)[1] - print(filename, flush=True) media = g.db.get(Media, filename) - print(media, flush=True) if media: media_usage = MediaUsage( filename=filename,