From 0213a115b58f78402b4b840f689ff3170b347100 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 13 Oct 2018 00:53:27 +0100 Subject: [PATCH] fix #164 get_product_info throwing UnicodeDecodeError --- steam/client/builtins/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steam/client/builtins/apps.py b/steam/client/builtins/apps.py index c0bf8e8..add0069 100644 --- a/steam/client/builtins/apps.py +++ b/steam/client/builtins/apps.py @@ -75,7 +75,7 @@ class Apps(object): chunk = chunk[0].body for app in chunk.apps: - data['apps'][app.appid] = vdf.loads(app.buffer[:-1].decode('utf-8'))['appinfo'] + data['apps'][app.appid] = vdf.loads(app.buffer[:-1].decode('utf-8', 'ignore'))['appinfo'] for pkg in chunk.packages: data['packages'][pkg.packageid] = vdf.binary_loads(pkg.buffer[4:])[str(pkg.packageid)]