Fix revolut file encoding on windows
This commit is contained in:
parent
673005dfbb
commit
29d527b928
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class RevolutProcessor(Processor):
|
||||||
|
|
||||||
def parse_file(self):
|
def parse_file(self):
|
||||||
try:
|
try:
|
||||||
with open(self.filename) as f:
|
with open(self.filename, encoding="utf-8") as f:
|
||||||
reader = csv.DictReader(f, delimiter=";")
|
reader = csv.DictReader(f, delimiter=";")
|
||||||
return [line for line in reader]
|
return [line for line in reader]
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
|
|
Loading…
Reference in a new issue