updates app.py with changes from GH PRs

This commit is contained in:
octoshrimpy 2023-09-12 18:47:53 +02:00
parent 33ffd38d46
commit 0e6ec3804f
1 changed files with 1 additions and 1 deletions

View File

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