Skip to content
Permalink
Browse files
Further clarify $EDITOR message [ci skip]
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 29, 2017
1 parent 4e405dc commit 5214442b36f3acf24c8609a93fce8a0f85e1d49a
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/new_post.py
@@ -449,7 +449,7 @@ def _execute(self, options, args):
if editor:
subprocess.call(to_run)
else:
LOGGER.error('$EDITOR not set within the operating system, cannot edit the post with \'-e\'. Post must be altered manually.')
LOGGER.error('The $EDITOR environment variable is not set, cannot edit the post with \'-e\'. Please edit the post manually.')

def filter_post_pages(self, compiler, is_post):
"""Return the correct entry from post_pages.

0 comments on commit 5214442

Please sign in to comment.