forked from Ponysearch/Ponysearch
[enh] display error message if gigablast extra param expired
This commit is contained in:
parent
52ccaa7acc
commit
34ad3d6b34
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def response(resp):
|
||||||
response_json = loads(resp.text)
|
response_json = loads(resp.text)
|
||||||
except:
|
except:
|
||||||
parse_extra_param(resp.text)
|
parse_extra_param(resp.text)
|
||||||
return results
|
raise Exception('extra param expired, please reload')
|
||||||
|
|
||||||
for result in response_json['results']:
|
for result in response_json['results']:
|
||||||
# append result
|
# append result
|
||||||
|
|
Loading…
Reference in a new issue