Skip to content

Commit

Permalink
Fix "AttributeError: 'Card' object has no attribute 'idShort'"
Browse files Browse the repository at this point in the history
  • Loading branch information
sgaynetdinov committed Aug 16, 2016
1 parent 4c5d3bd commit f642144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trello/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def from_json(cls, parent, json_obj):
card.idLabels = json_obj['idLabels']
card.idBoard = json_obj['idBoard']
card.idList = json_obj['idList']
card.idShort = json_obj['idShort']
card.labels = Label.from_json_list(card.board, json_obj['labels'])
card.dateLastActivity = dateparser.parse(json_obj['dateLastActivity'])
return card
Expand Down

0 comments on commit f642144

Please sign in to comment.