updates app.py with changes from GH PRs
This commit is contained in:
parent
33ffd38d46
commit
0e6ec3804f
|
@ -152,7 +152,7 @@ def search(search_term):
|
||||||
try:
|
try:
|
||||||
int(splits[index+1])
|
int(splits[index+1])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise ValueError('Paramater passed after {} option must be an integer.\n'.
|
raise ValueError('Parameter passed after {} option must be an integer.\n'.
|
||||||
format(split))
|
format(split))
|
||||||
if int(splits[index+1]) > 50:
|
if int(splits[index+1]) > 50:
|
||||||
raise ValueError('Invalid limit passed. Max is 50.\n')
|
raise ValueError('Invalid limit passed. Max is 50.\n')
|
||||||
|
|
Loading…
Reference in New Issue