Skip to content

Commit 9cd6716

Browse files
authored
Merge pull request #9 from Garulf/fix-unicode-error
Fix unicode error
2 parents 3970b32 + 104f33d commit 9cd6716

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plugin/steam_search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def find_icon(self, install_dir, name):
8383
def add_manifest(self, file, path):
8484
try:
8585
manifest = vdf.load(open(file))
86-
except SyntaxError:
86+
except (SyntaxError, UnicodeDecodeError):
87+
self.logger.debug(f"Error loading {path}, {file}")
8788
pass
8889
else:
8990
install_dir = Path(path).joinpath(

0 commit comments

Comments
 (0)