diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-11-22 20:02:59 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-11-22 20:02:59 +0200 |
commit | 39055e208b1fcb6fc3e5c975f4b529fe6c051c67 (patch) | |
tree | e167f623cf768181c3251106a9cab08554242b9d | |
parent | 282e41cc67741a1bf0ed04a3549d1608e9c10d68 (diff) | |
download | jt-39055e208b1fcb6fc3e5c975f4b529fe6c051c67.tar.gz |
Invoke editor on new topic page
-rwxr-xr-x | jt | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -244,6 +244,7 @@ class NewTopicCommand(Command): pathname = self._topic_pathname(args[0]) self._create_topic_page(pathname, args[1]) + self._app.edit_file(pathname) def _topic_pathname(self, page_path): return os.path.join(self._app.settings['source'], page_path + '.mdwn') |