[enh] display error message if gigablast extra param expired

This commit is contained in:
Adam Tauber 2019-12-21 21:25:50 +01:00
parent 52ccaa7acc
commit 34ad3d6b34

View file

@ -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