Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/cdn: manifest returns dict, gid is a key #461

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions steam/client/cdn.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down