From b4f6ae94f5adaf6838a014c39a264c6f187e17b3 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 22 Nov 2014 18:16:40 +0200 Subject: Fix list command --- jt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jt b/jt index 65e31f5..b2c9a25 100755 --- a/jt +++ b/jt @@ -80,8 +80,8 @@ class NewCommand(Command): class ListCommand(Command): def run(self, args): - for draft_id, filename in self.find_drafts(): - print draft_id, self.get_draft_title(filename) or "" + for draft_id, filename in self._app.find_drafts(): + print draft_id, self._app.get_draft_title(filename) or "" class JournalTool(cliapp.Application): -- cgit v1.2.1