mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-09-18 12:34:39 +00:00
Open file with encoding (Python on Windows wasn't happy)
This commit is contained in:
parent
7101847c0d
commit
5eb33e4127
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def test_langcode_country(dir: str):
|
|||
|
||||
|
||||
def parse_language_headers(file):
|
||||
with open(file, "rt") as fh:
|
||||
with open(file, "rt", encoding="utf-8") as fh:
|
||||
sections = {}
|
||||
section = None
|
||||
for line in fh:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue