diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-06-30 14:52:52 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-06-30 14:52:52 +0300 |
commit | ac677e2d904706b5792e15de1f3c47eccfa80771 (patch) | |
tree | 97b90133803c10905efb6282b7b99b9ca3585f1b /jt | |
parent | 39d5317ed2b5407ae98dc528cb808f2786815ca7 (diff) | |
download | jt-ac677e2d904706b5792e15de1f3c47eccfa80771.tar.gz |
Fix bug in attach commandjt-0.7
Diffstat (limited to 'jt')
-rwxr-xr-x | jt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -180,7 +180,7 @@ class AttachCommand(Command): if len(args) < 2: raise cliapp.AppException('Usage: journal-note attach ID file...') - drafts_dir = DraftsDirectory(self._app.draft_dir()) + drafts_dir = DraftsDirectory(self._app.drafts_dir()) dirname = drafts_dir.get_draft_attachments_dirname(args[0]) if not os.path.exists(dirname): os.mkdir(dirname) |