Skip to content

Commit

Permalink
Further clarify $EDITOR message [ci skip]
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Oct 29, 2017
1 parent 4e405dc commit 5214442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/new_post.py
Expand Up @@ -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.
Expand Down

0 comments on commit 5214442

Please sign in to comment.