We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29fbecb + e3c5b86 commit 6082943Copy full SHA for 6082943
1 file changed
resources/registry.py
@@ -4,6 +4,7 @@
4
5
import os
6
import xbmc
7
+import io
8
from .util import *
9
10
if os.name == 'nt':
@@ -84,7 +85,7 @@ def get_installed_steam_apps(registry_path):
84
85
show_error(e, "Error while reading Windows registry")
86
pass
87
else:
- with open(registry_path, 'r') as file:
88
+ with io.open(registry_path, 'r', encoding="utf-8") as file:
89
try:
90
vdf = vdf_parse(file, {})
91
apps = vdf['registry']['hkcu']['software']['valve']['steam']['apps']
0 commit comments