Use utf-8 everywhere

This commit is contained in:
kramo
2023-04-02 07:28:04 +02:00
parent b511ce22b7
commit 960eaa1949
7 changed files with 10 additions and 10 deletions

View File

@@ -110,7 +110,7 @@ class game(Gtk.Box): # pylint: disable=invalid-name
if not games_dir.exists():
return
data = json.loads((games_dir / f"{self.game_id}.json").read_text())
data = json.loads((games_dir / f"{self.game_id}.json").read_text("utf-8"))
data["hidden"] = not data["hidden"]