From 0edb0656bbc32d320ed75dbc98c382f7bcda3ddd Mon Sep 17 00:00:00 2001 From: StalkR Date: Thu, 25 Apr 2024 11:16:30 +0200 Subject: [PATCH] client/cdn: manifest returns dict, gid is a key Fixes exception on get_manifests. --- steam/client/cdn.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam/client/cdn.py b/steam/client/cdn.py index dbd09ab8..4a0fab9a 100644 --- a/steam/client/cdn.py +++ b/steam/client/cdn.py @@ -832,9 +832,9 @@ def async_fetch_manifest( manifest_gid = decrypt_manifest_gid_2(unhexlify(egid), self.beta_passwords[(app_id, branch)]) else: - manifest_gid = depot_info.get('manifests', {}).get('public') + manifest_gid = depot_info.get('manifests', {}).get('public').get('gid') else: - manifest_gid = depot_info.get('manifests', {}).get(branch) + manifest_gid = depot_info.get('manifests', {}).get(branch).get('gid') if manifest_gid is not None: tasks.append(