summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-01-15 18:19:40 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-01-15 18:19:40 +0100
commit517ac9c3f5b342327ddb248436fc7b47ce54b885 (patch)
tree5053bff7ed976a8beedba2ff83ee3d4f2a8f238e
parent56e7e0b332bcc01953d875db9fd30bcaa41be1df (diff)
downloadpython-gamelocker-517ac9c3f5b342327ddb248436fc7b47ce54b885.tar.gz
python-gamelocker-517ac9c3f5b342327ddb248436fc7b47ce54b885.zip
datatypes: replace some incorrect definitions of
-rw-r--r--gamelocker/datatypes.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gamelocker/datatypes.py b/gamelocker/datatypes.py
index 92848ad..cf89fad 100644
--- a/gamelocker/datatypes.py
+++ b/gamelocker/datatypes.py
@@ -38,7 +38,7 @@ class Player(DataMessage):
key_id = attr(str, "id")
name = attr(str, "name")
- stats = rel(dict, "stats")
+ stats = attr(dict, "stats")
class Participant(DataMessage):
@@ -46,7 +46,7 @@ class Participant(DataMessage):
key_id = attr(str, "id")
actor = attr(str, "actor")
- stats = attr(str, "stats")
+ stats = attr(dict, "stats")
player = rel(Player, "player")
@@ -62,7 +62,7 @@ class Roster(DataMessage):
type_name = "roster"
key_id = attr(str, "id")
- stats = attr(str, "stats")
+ stats = attr(dict, "stats")
participants = rel(Participant, "participants")
team = rel(Team, "team")