From 2c62e4cfe030d769c6d91a0440ded525b3a0456b Mon Sep 17 00:00:00 2001 From: iquasere Date: Wed, 3 Jan 2024 10:08:27 +0000 Subject: [PATCH] Should really test locally Account for empty values on checking for bad values --- keggcharter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keggcharter.py b/keggcharter.py index d891c7b..03da3f8 100644 --- a/keggcharter.py +++ b/keggcharter.py @@ -151,6 +151,8 @@ def read_input(): def bad_value(cell_value, pattern): + if type(cell_value) == float: + return False pattern = re.compile(pattern) values = cell_value.split(',') for val in values: