Browse Source

fix proto_to_dict not converting some repeated fields

pull/51/head
Rossen Georgiev 9 years ago
parent
commit
0aaaf00922
  1. 2
      steam/util/__init__.py

2
steam/util/__init__.py

@ -71,7 +71,7 @@ def proto_to_dict(message):
else:
data[desc.name] = proto_to_dict(field)
else:
data[desc.name] = field
data[desc.name] = list(field) if desc.label == desc.LABEL_REPEATED else field
return data

Loading…
Cancel
Save