Commit d8e1395d authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Fixing SyntaxWarning

parent 69d565c0
......@@ -321,7 +321,7 @@ def __parse_file(file, importation_observer: ImportationObserver = None, sheet_n
for id_col, cell in enumerate(sub_row):
cell = cell.strip()
if header is None or not has_seen_data and id_col == 1 and sub_row[0] == "":
if cell is not "" and not cell.startswith("Unnamed: "):
if cell != "" and not cell.startswith("Unnamed: "):
header = row
start_at = id_col - 1 + start_at
break
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment