From 4436419213e98d1d60040e13f1dd85b009cd4ebe Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 13 Oct 2018 11:04:02 +0100 Subject: [PATCH] fix #164; replace instead of ignoring decoding errors --- 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 add0069..f358873 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', 'ignore'))['appinfo'] + data['apps'][app.appid] = vdf.loads(app.buffer[:-1].decode('utf-8', 'replace'))['appinfo'] for pkg in chunk.packages: data['packages'][pkg.packageid] = vdf.binary_loads(pkg.buffer[4:])[str(pkg.packageid)]