Skip to content

Commit

Permalink
clubConsumables: parse response
Browse files Browse the repository at this point in the history
  • Loading branch information
oczkers committed Nov 12, 2017
1 parent d54a5b4 commit 6842f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fut/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ def clubConsumables(self, fast=False):
events = [self.pin.event('page_view', 'Club - Consumables - List View')]
self.pin.send(events, fast=fast)

return rc['itemData'] # TODO?: parse
return [{itemParse(i) for i in rc.get('itemData', ())}]

def squad(self, squad_id=0, persona_id=None):
"""Return a squad.
Expand Down

0 comments on commit 6842f84

Please sign in to comment.