From e0d7417ae68a60c07bc3c6f6df5e54bc8f93206e Mon Sep 17 00:00:00 2001 From: Richard Kolkovich Date: Thu, 11 Aug 2016 10:52:49 -0600 Subject: [PATCH] Initialize on fetch_checklists() (Closes #145) --- trello/card.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trello/card.py b/trello/card.py index 60e61f06..0eea7bc0 100644 --- a/trello/card.py +++ b/trello/card.py @@ -198,6 +198,10 @@ def get_comments(self): return self.fetch_comments(force=True) def fetch_checklists(self): + + if not hasattr(self, "checked") or self.checked is None: + self.fetch(eager=False) + checklists = [] json_obj = self.client.fetch_json( '/cards/' + self.id + '/checklists', )