summaryrefslogtreecommitdiff
path: root/jt
diff options
context:
space:
mode:
Diffstat (limited to 'jt')
-rwxr-xr-xjt2
1 files changed, 1 insertions, 1 deletions
diff --git a/jt b/jt
index 35cd7b1..df9f078 100755
--- a/jt
+++ b/jt
@@ -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)