From 6fc84ac386c0330e9c9a835d3271781fc002085e Mon Sep 17 00:00:00 2001 From: Sam Yun Date: Wed, 16 Jan 2019 21:42:19 -0800 Subject: [PATCH] Weird space fix --- EMS Paperwork Tool/autofill_tool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/EMS Paperwork Tool/autofill_tool.py b/EMS Paperwork Tool/autofill_tool.py index dae30d8..d682223 100644 --- a/EMS Paperwork Tool/autofill_tool.py +++ b/EMS Paperwork Tool/autofill_tool.py @@ -1106,7 +1106,8 @@ def get_list_of_schedule(self, column_number): if len(raw_list) > 1: while i < len(raw_list): - if raw_list[i][:2] == " ": + foo = raw_list[i][:2] + if raw_list[i][:2] == "" or raw_list[i][:2].isspace(): i += 1 else: # parse time