spansh.py: fixed “nothing found” exit code

This commit is contained in:
alterNERDtive 2020-03-09 18:15:25 +01:00
parent 0054b5ae6c
commit 5704593f4f

View file

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