Skip to content

Commit

Permalink
Update importer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarogarcia7 authored Aug 1, 2024
1 parent cf4cf97 commit c758eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tariochbctools/importers/revolut/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def extract(self, file, existing_entries):
skipinitialspace=True,
)
next(reader)
is_fee_mode = self._fee is not None
for row in reader:
try:
bal = D(row["Balance"].replace("'", "").strip())
Expand All @@ -60,7 +61,6 @@ def extract(self, file, existing_entries):
logging.warning(e)
continue

is_fee_mode = self._fee is not None
if is_fee_mode and fee_amt_raw == ZERO:
continue

Expand Down

0 comments on commit c758eae

Please sign in to comment.