Update tester to read utf-8

This commit is contained in:
Christoffer Lerno
2021-11-08 22:12:31 +01:00
committed by Christoffer Lerno
parent 4662133893
commit 137b474f44

View File

@@ -12,7 +12,7 @@ class Config:
class File:
def __init__(self, filepath):
with open(filepath) as reader:
with open(filepath, encoding='utf8') as reader:
self.content = reader.read().splitlines()
self.filepath = filepath
self.filename = os.path.basename(filepath)