Skip to content
Snippets Groups Projects
Commit 8d5a5adf authored by Martin Mareš's avatar Martin Mareš
Browse files

mo.csv: Kosmetika

parent 4b36543a
No related branches found
No related tags found
1 merge request!125Průvodce soutěží pro garanty
...@@ -123,7 +123,7 @@ def read(file: IO, fmt: FileFormat, row_class: Type[Row]): ...@@ -123,7 +123,7 @@ def read(file: IO, fmt: FileFormat, row_class: Type[Row]):
if not any(h in columns for h in header): if not any(h in columns for h in header):
raise MissingHeaderError() raise MissingHeaderError()
for h in header: for h in header:
if not h in columns: if h not in columns:
best_matches = difflib.get_close_matches(h, columns, n=1, cutoff=0.8) best_matches = difflib.get_close_matches(h, columns, n=1, cutoff=0.8)
if best_matches: if best_matches:
warnings.append( warnings.append(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment