summaryrefslogtreecommitdiff
path: root/jt
diff options
context:
space:
mode:
Diffstat (limited to 'jt')
-rwxr-xr-xjt3
1 files changed, 0 insertions, 3 deletions
diff --git a/jt b/jt
index 80c7041..67220e5 100755
--- a/jt
+++ b/jt
@@ -297,9 +297,6 @@ class JournalTool(cliapp.Application):
def drafts_dir(self):
return os.path.join(self.settings['source'], 'drafts')
- def draft_name(self, draft_id):
- return os.path.join(self.drafts_dir(), '%s.mdwn' % draft_id)
-
def edit_file(self, pathname):
safe_pathname = cliapp.shell_quote(pathname)
cmdline = ['sh', '-c', self.settings['editor'] % pathname]