Skip to content

Commit

Permalink
Fix "AttributeError: 'Card' object has no attribute 'idBoard'"
Browse files Browse the repository at this point in the history
  • Loading branch information
sgaynetdinov committed Aug 16, 2016
1 parent af8668c commit 4c5d3bd
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 @@ -136,6 +136,7 @@ def from_json(cls, parent, json_obj):
card.idMembers = json_obj['idMembers']
card.member_ids = json_obj['idMembers']
card.idLabels = json_obj['idLabels']
card.idBoard = json_obj['idBoard']
card.idList = json_obj['idList']
card.labels = Label.from_json_list(card.board, json_obj['labels'])
card.dateLastActivity = dateparser.parse(json_obj['dateLastActivity'])
Expand Down

0 comments on commit 4c5d3bd

Please sign in to comment.