diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 18:16:40 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 18:16:40 +0200 |
commit | b4f6ae94f5adaf6838a014c39a264c6f187e17b3 (patch) | |
tree | 1ddcedd9b6ebff93c6868acc5a9b243e5e7e5013 | |
parent | 572b72fb46c81931b16c26085907f4b66c04fcca (diff) | |
download | jt-b4f6ae94f5adaf6838a014c39a264c6f187e17b3.tar.gz |
Fix list command
-rwxr-xr-x | jt | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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): |