spansh.py: fixed “nothing found” exit code
This commit is contained in:
parent
0054b5ae6c
commit
5704593f4f
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ except ServerError as e:
|
|||
sys.exit(1)
|
||||
except NotFoundError as e:
|
||||
print("No results found.")
|
||||
sys.exit(2)
|
||||
sys.exit(3)
|
||||
else:
|
||||
print(out)
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Reference in a new issue