Skip to content

Commit

Permalink
Add setter to Card.description
Browse files Browse the repository at this point in the history
  • Loading branch information
onilton committed Jun 17, 2014
1 parent 8098af2 commit 4e23ca8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trello/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,10 @@ def board_id(self):
def description(self):
return self.desc

@description.setter
def description(self, value):
self.desc = value

def __init__(self, trello_list, card_id, name=''):
"""
:trello_list: reference to the parent list
Expand Down

0 comments on commit 4e23ca8

Please sign in to comment.