Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Use UTF-8 encoding for app settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Apr 2, 2023
1 parent 3ede9e0 commit 69992a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def appdata(self):

@property
def app_settings(self):
with open(os.path.join(self.appdata, 'Settings', 'Settings.json'), 'r') as f:
with open(os.path.join(self.appdata, 'Settings', 'Settings.json'), 'r', encoding='utf-8') as f:
return json.load(f)

@property
Expand Down

0 comments on commit 69992a6

Please sign in to comment.