Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gajim
gajim
Commits
ace18ddc
Commit
ace18ddc
authored
May 10, 2022
by
Philipp Hörist
Browse files
fix: Settings: Define encoding when calling open()
parent
a496dbbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
gajim/common/settings.py
View file @
ace18ddc
...
...
@@ -225,7 +225,7 @@ def _load_app_overrides(self) -> None:
if
not
OVERRIDES_PATH
.
exists
():
return
with
OVERRIDES_PATH
.
open
()
as
f
:
with
OVERRIDES_PATH
.
open
(
encoding
=
'utf8'
)
as
f
:
try
:
self
.
_app_overrides
=
json
.
load
(
f
)
except
Exception
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment