Skip to content

Commit 922c018

Browse files
committed
Get the gid from the branch dict when not encrypted
See ValvePython#476
1 parent abbf04a commit 922c018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

steam/client/cdn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,9 +829,9 @@ def async_fetch_manifest(
829829
manifest_gid = decrypt_manifest_gid_2(unhexlify(egid),
830830
self.beta_passwords[(app_id, branch)])
831831
else:
832-
manifest_gid = depot_info.get('manifests', {}).get('public')
832+
manifest_gid = depot_info.get('manifests', {}).get('public').get('gid')
833833
else:
834-
manifest_gid = depot_info.get('manifests', {}).get(branch)
834+
manifest_gid = depot_info.get('manifests', {}).get(branch).get('gid')
835835

836836
if manifest_gid is not None:
837837
tasks.append(

0 commit comments

Comments
 (0)