Commit fdcd3efc authored by nanahira's avatar nanahira

fix

parent 9e65bf45
Pipeline #27424 passed with stages
in 33 seconds
...@@ -367,8 +367,8 @@ def searchban(screen_name): ...@@ -367,8 +367,8 @@ def searchban(screen_name):
print("Error checking typeahead of {}".format(screen_name)) print("Error checking typeahead of {}".format(screen_name))
returnjson["tests"]["typeahead"] = '_error' returnjson["tests"]["typeahead"] = '_error'
if returnjson["tests"]["typeahead"] == False: if returnjson["tests"]["typeahead"] != True:
print("{} is search suggestion banned, checking search ban.".format(screen_name)) print("{} is search suggestion banned or errored, checking search ban.".format(screen_name))
search_result = doSearch(screen_name) search_result = doSearch(screen_name)
if search_result is None: if search_result is None:
returnjson["tests"]["search"] = '_error' returnjson["tests"]["search"] = '_error'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment