Skip to content

Commit

Permalink
Add remove due datetime from a card
Browse files Browse the repository at this point in the history
  • Loading branch information
diegojromerolopez committed Feb 5, 2017
1 parent 75c3193 commit aa8d01a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions trello/card.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,13 @@ def set_due(self, due):
self._set_remote_attribute('due', datestr)
self.due = datestr

def remove_due(self):
"""
Remove the due datetime of this card.
"""
self._set_remote_attribute('due', None)
self.due = ''

def set_pos(self, pos):
"""
Update card position in list
Expand Down

0 comments on commit aa8d01a

Please sign in to comment.