Skip to content
Permalink
Browse files

Show post's location even when it exists.

  • Loading branch information
punchagan committed May 8, 2016
1 parent 0069bc7 commit b78a0c1f194c969668f60403f53b7c0c8c7013b4
Showing with 3 additions and 0 deletions.
  1. +3 −0 nikola/plugins/command/new_post.py
@@ -343,6 +343,9 @@ def _execute(self, options, args):
signal('existing_' + content_type).send(self, **event)

LOGGER.error("The title already exists!")
LOGGER.info("Your {0}'s text is at: {1}".format(content_type, txt_path))
if not onefile:
LOGGER.info("Your {0}'s metadata is at: {1}".format(content_type, meta_path))
return 8

d_name = os.path.dirname(txt_path)

0 comments on commit b78a0c1

Please sign in to comment.
You can’t perform that action at this time.