Remove some debugging code
This commit is contained in:
parent
b50ef76c2d
commit
c6c4cc0c24
|
@ -65,7 +65,6 @@ def get_meta(request, net, nicks, iter=True):
|
||||||
for x in meta_tmp:
|
for x in meta_tmp:
|
||||||
if x not in meta:
|
if x not in meta:
|
||||||
meta.append(x)
|
meta.append(x)
|
||||||
print("GOT META", meta)
|
|
||||||
|
|
||||||
# Run the search again, passing in all the users we found
|
# Run the search again, passing in all the users we found
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,6 @@ def run_main_query(client, user, query, custom_query=False, index=None, size=Non
|
||||||
try:
|
try:
|
||||||
response = client.search(body=search_query, index=index)
|
response = client.search(body=search_query, index=index)
|
||||||
except RequestError:
|
except RequestError:
|
||||||
print("REQUEST ERROR")
|
|
||||||
return False
|
return False
|
||||||
filter_blacklisted(user, response)
|
filter_blacklisted(user, response)
|
||||||
return response
|
return response
|
||||||
|
|
Loading…
Reference in New Issue