mirror of
https://github.com/searxng/searxng
synced 2024-11-18 15:26:25 +00:00
[enh] display error message if gigablast extra param expired
This commit is contained in:
parent
52ccaa7acc
commit
34ad3d6b34
@ -99,7 +99,7 @@ def response(resp):
|
||||
response_json = loads(resp.text)
|
||||
except:
|
||||
parse_extra_param(resp.text)
|
||||
return results
|
||||
raise Exception('extra param expired, please reload')
|
||||
|
||||
for result in response_json['results']:
|
||||
# append result
|
||||
|
Loading…
Reference in New Issue
Block a user