diff options
Diffstat (limited to 'beancount_extras_kris7t/importers/otpbank/otpbank_csv.py')
-rw-r--r-- | beancount_extras_kris7t/importers/otpbank/otpbank_csv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/beancount_extras_kris7t/importers/otpbank/otpbank_csv.py b/beancount_extras_kris7t/importers/otpbank/otpbank_csv.py index 9e12ec3..c0f66ba 100644 --- a/beancount_extras_kris7t/importers/otpbank/otpbank_csv.py +++ b/beancount_extras_kris7t/importers/otpbank/otpbank_csv.py | |||
@@ -236,7 +236,8 @@ def extract_foreign_currencies( | |||
236 | 236 | ||
237 | def extract_cards(card_accounts: Dict[str, str]) -> Extractor: | 237 | def extract_cards(card_accounts: Dict[str, str]) -> Extractor: |
238 | def do_extract(row: Row) -> None: | 238 | def do_extract(row: Row) -> None: |
239 | if row.entry_type.lower() not in [ | 239 | entry_type = row.entry_type |
240 | if not entry_type or entry_type.lower() not in [ | ||
240 | 'vásárlás kártyával', | 241 | 'vásárlás kártyával', |
241 | 'bankkártyával kapcs. díj', | 242 | 'bankkártyával kapcs. díj', |
242 | ]: | 243 | ]: |