We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ece38 commit a018e21Copy full SHA for a018e21
src/ngtonic/importer.py
@@ -69,7 +69,7 @@ def parse_revolut_file(file_name: Path):
69
"""Parse movements from a CSV file exported from Revolut"""
70
reader = csv.DictReader(file_name.open(), delimiter=",")
71
for row in reader:
72
- if row["Type"] != "CARD_PAYMENT":
+ if row["Type"] in ("CARD_PAYMENT", "Card Payment"):
73
# We are only interested in card payments
74
continue
75
movement_date = parser.parse(row["Started Date"]).date()
0 commit comments