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