From 5704593f4f9e56991855928b0b36dbc31ca3d606 Mon Sep 17 00:00:00 2001 From: alterNERDtive Date: Mon, 9 Mar 2020 18:15:25 +0100 Subject: [PATCH] =?UTF-8?q?spansh.py:=20fixed=20=E2=80=9Cnothing=20found?= =?UTF-8?q?=E2=80=9D=20exit=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spansh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spansh.py b/spansh.py index c83b3a5..59a5850 100755 --- a/spansh.py +++ b/spansh.py @@ -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)