about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--calc_position.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/calc_position.py b/calc_position.py
index daa819d..dacfb90 100644
--- a/calc_position.py
+++ b/calc_position.py
@@ -11,6 +11,7 @@ if match:
     i = int(match.start(0)) + 1
 else:
     print("Number could not be found")
+    exit()
 
 num_rows = 46
 num_cols = 52