From f8c3a478bfb411b55b70335a0c010a6306466b1b Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 18 Dec 2023 22:21:31 +0200 Subject: [PATCH] remove print-statements --- files/helpers/sanitize.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 3009e88af..4bc7d498b 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -808,10 +808,8 @@ def normalize_url(url): return url.rstrip('=') def normalize_url_gevent(url): - x = requests.get(url, headers=HEADERS, timeout=2, proxies=proxies) - print(x, flush=True) - print(x.url, flush=True) - return normalize_url(x.url) + req = requests.get(url, headers=HEADERS, timeout=2, proxies=proxies) + return normalize_url(req.url) def validate_css(css): if '@import' in css: