mirror of
https://zotify.xyz/zotify/zotify.git
synced 2024-11-10 01:02:06 +01:00
updates app.py with changes from GH PRs
This commit is contained in:
parent
33ffd38d46
commit
0e6ec3804f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue