Windows pain

This commit is contained in:
thomas.hilscher authored and Lorenz Stechauner committed 2023-04-04 00:15:53 +02:00
1 parent 6f1cc0e922
commit 1defd4259f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ def parse(filename: str) -> Iterator[Dict[str, Any]]:
if w is not None:
yield w.strip()
with open(filename, 'r') as f:
with open(filename, 'r', encoding='utf-8') as f:
header: Optional[Tuple[str]] = None
for line in f:
if header is None: