Fix revolut file encoding on windows

This commit is contained in:
Gabriel Augendre 2020-02-26 20:07:33 +01:00
parent 673005dfbb
commit 29d527b928
No known key found for this signature in database
GPG key ID: 1E693F4CE4AEE7B4

View file

@ -54,7 +54,7 @@ class RevolutProcessor(Processor):
def parse_file(self):
try:
with open(self.filename) as f:
with open(self.filename, encoding="utf-8") as f:
reader = csv.DictReader(f, delimiter=";")
return [line for line in reader]
except FileNotFoundError: