Browse Source
Some depots now have a dict like {"public": {"gid": GID, ...}, ...}
where we would traditionally have seen a flat dict {"public": GID, ...}.
Not all depots have this: at the time of writing,
1628350 "Steam Linux Runtime - Sniper" does, but
1391110 "Steam Linux Runtime - Soldier" does not. Presumably this is a
change that is being rolled out gradually to let the Steam client give
better estimates of the size of a depot.
Cope with either format, by retrieving the gid field if the nested dict
is present.
Resolves: https://github.com/ValvePython/steam/issues/436
Signed-off-by: Simon McVittie <[email protected]>
pull/437/head
1 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue