py-trello
py-trello copied to clipboard
Issue adding checklist items
When I add them, they are added successfully, but then I am seeing a TypeError
I have to catch:
File "/srv/www/cinematique/cin/core/management/commands/test_trello.py", line 55, in handle
'Cinematique'
File "/srv/www/cinematique/cin/core/trello_api.py", line 65, in add_checklist_to_card
checklist = card.add_checklist(name,check_list_items)
File "/opt/envs/cinematique/local/lib/python2.7/site-packages/trello/__init__.py", line 683, in add_checklist
self.fetch()
File "/opt/envs/cinematique/local/lib/python2.7/site-packages/trello/__init__.py", line 577, in fetch
self.due = json_obj.get('due', '')[:10]
TypeError: 'NoneType' object has no attribute '__getitem__'
I can provide a pull request for this and #63 if that would be helpful
Joseph,
That would be helpful. I'm on holiday currently, so I can't get to it for another week at least.
On Wed, Jun 3, 2015, 21:37 Joseph Misiti [email protected] wrote:
I can provide a pull request for this and #63 https://github.com/sarumont/py-trello/issues/63 if that would be helpful
— Reply to this email directly or view it on GitHub https://github.com/sarumont/py-trello/issues/91#issuecomment-108591081.