From 9cbf336a983149d8ba44e87a4eb6d727a0b77dd5 Mon Sep 17 00:00:00 2001 From: Anon Date: Sun, 16 Oct 2022 03:00:02 -0700 Subject: [PATCH] Removed print statement --- src/danbooru_backend.py | 2 -- src/gelbooru_backend.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/danbooru_backend.py b/src/danbooru_backend.py index 3aaa79e..abba1ad 100644 --- a/src/danbooru_backend.py +++ b/src/danbooru_backend.py @@ -43,7 +43,6 @@ def is_banned(post, profile): return None - def get_nsfw(post): return post["rating"] in ("q", "e") @@ -120,7 +119,6 @@ class downloader: search_request = requests.get(search_url) if search_request.status_code != 200: - print(search_url) print("Search request returned:", search_request.status_code) return None diff --git a/src/gelbooru_backend.py b/src/gelbooru_backend.py index 6d64f04..88a473d 100644 --- a/src/gelbooru_backend.py +++ b/src/gelbooru_backend.py @@ -37,12 +37,10 @@ def is_banned(post, profile): tag_banned = profile["banned_tags"] for tag in tag_banned: if tag in tag_response: - print(tag) return tag return None - def get_nsfw(post): return post["rating"] in ("questionable", "explicit")