diff options
author | Lars Wirzenius <liw@liw.fi> | 2012-04-02 23:25:09 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2012-04-02 23:25:09 +0100 |
commit | 1259b1e2faffedf8bc0e1e53ec1decf776e829e1 (patch) | |
tree | f2698b7fc26763958c67fa4e62e00cdab19354c6 | |
parent | 431757b3c8fc9c80e68c5d03ceae493ed338811a (diff) | |
parent | bb205e79db8ad1571a66837f300d7419888f80fb (diff) | |
download | liw-automation-1259b1e2faffedf8bc0e1e53ec1decf776e829e1.tar.gz |
Fix journal-note list
-rwxr-xr-x | scripts/journal-note | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/journal-note b/scripts/journal-note index 013f4c9..6efd8c2 100755 --- a/scripts/journal-note +++ b/scripts/journal-note @@ -104,6 +104,7 @@ class App(object): yield name[:-len('.mdwn')], name def list_entries(self, args, opts): + drafts = self.drafts(opts) for draft_id, name in self.find_drafts(opts): if name.endswith('.mdwn'): f = open(os.path.join(drafts, name)) |