From 8d5a5adf2b56f2b9a5939aa2386d293e4eb1ff00 Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Sun, 30 Oct 2022 00:17:05 +0200
Subject: [PATCH] mo.csv: Kosmetika

---
 mo/csv.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mo/csv.py b/mo/csv.py
index 39051bcd..e7008e9b 100644
--- a/mo/csv.py
+++ b/mo/csv.py
@@ -123,7 +123,7 @@ def read(file: IO, fmt: FileFormat, row_class: Type[Row]):
             if not any(h in columns for h in header):
                 raise MissingHeaderError()
             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)
                     if best_matches:
                         warnings.append(
-- 
GitLab