Removed print statement

This commit is contained in:
Anon 2022-10-16 03:00:02 -07:00
parent dfbbbc7f22
commit 9cbf336a98
2 changed files with 0 additions and 4 deletions

View File

@ -43,7 +43,6 @@ def is_banned(post, profile):
return None return None
def get_nsfw(post): def get_nsfw(post):
return post["rating"] in ("q", "e") return post["rating"] in ("q", "e")
@ -120,7 +119,6 @@ class downloader:
search_request = requests.get(search_url) search_request = requests.get(search_url)
if search_request.status_code != 200: if search_request.status_code != 200:
print(search_url)
print("Search request returned:", search_request.status_code) print("Search request returned:", search_request.status_code)
return None return None

View File

@ -37,12 +37,10 @@ def is_banned(post, profile):
tag_banned = profile["banned_tags"] tag_banned = profile["banned_tags"]
for tag in tag_banned: for tag in tag_banned:
if tag in tag_response: if tag in tag_response:
print(tag)
return tag return tag
return None return None
def get_nsfw(post): def get_nsfw(post):
return post["rating"] in ("questionable", "explicit") return post["rating"] in ("questionable", "explicit")