diff --git a/src/uabean/importers/pumb_xls.py b/src/uabean/importers/pumb_xls.py index fc7fc27..5e818fc 100755 --- a/src/uabean/importers/pumb_xls.py +++ b/src/uabean/importers/pumb_xls.py @@ -88,6 +88,8 @@ def extract(self, filename, existing_entries=None): None, ) continue + if row[3].value and row[3].value.strip() == "Нет операций": + continue if row[0].value == "ВСЬОГО": break meta = data.new_metadata(filename, i + 1) diff --git a/src/uabean/importers/sensebank.py b/src/uabean/importers/sensebank.py index a517b87..dd4b72d 100755 --- a/src/uabean/importers/sensebank.py +++ b/src/uabean/importers/sensebank.py @@ -70,8 +70,10 @@ def extract(self, filename, existing_entries=None): account = self.account_config[m.group(1)] currency = m.group(2) for row in reader: - if row[0].startswith("Деталізація операцій") or row[0].startswith( - "Дата і час" + if ( + row[0].startswith("Деталізація операцій") + or row[0].startswith("Дата і час") + or row[0].startswith("Вклади гарантуються ") ): continue meta = data.new_metadata(filename, reader.line_num)