mirror of
https://github.com/csd4ni3l/music-player.git
synced 2026-01-01 04:03:42 +01:00
Fix files not being opened with utf-8 encoding
This commit is contained in:
@@ -18,7 +18,7 @@ class Main(arcade.gui.UIView):
|
||||
super().__init__()
|
||||
self.pypresence_client = pypresence_client
|
||||
|
||||
with open("settings.json", "r") as file:
|
||||
with open("settings.json", "r", encoding="utf-8") as file:
|
||||
self.settings_dict = json.load(file)
|
||||
|
||||
if self.settings_dict.get('discord_rpc', True):
|
||||
|
||||
Reference in New Issue
Block a user