Philipp Hörist pushed to branch master at gajim / gajim


Commits:
ace18ddc by lovetox at 2022-05-10T22:34:11+02:00
fix: Settings: Define encoding when calling open()

- - - - -


1 changed file:

- gajim/common/settings.py


Changes:

=====================================
gajim/common/settings.py
=====================================
@@ -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:



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ace18ddca102ab532f7f38412fe6b20289412ff7

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/ace18ddca102ab532f7f38412fe6b20289412ff7
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to