From c6c4cc0c242b446f6b10df8ce4d7ae4040762b6a Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 13:52:45 +0100 Subject: [PATCH] Remove some debugging code --- core/lib/meta.py | 1 - core/lib/opensearch.py | 1 - 2 files changed, 2 deletions(-) diff --git a/core/lib/meta.py b/core/lib/meta.py index b1cf783..76e50de 100644 --- a/core/lib/meta.py +++ b/core/lib/meta.py @@ -65,7 +65,6 @@ def get_meta(request, net, nicks, iter=True): for x in meta_tmp: if x not in meta: meta.append(x) - print("GOT META", meta) # Run the search again, passing in all the users we found diff --git a/core/lib/opensearch.py b/core/lib/opensearch.py index 9ebe79c..bd9e9d5 100644 --- a/core/lib/opensearch.py +++ b/core/lib/opensearch.py @@ -110,7 +110,6 @@ def run_main_query(client, user, query, custom_query=False, index=None, size=Non try: response = client.search(body=search_query, index=index) except RequestError: - print("REQUEST ERROR") return False filter_blacklisted(user, response) return response