Skip to content
Permalink
Browse files

nikola help doesn’t need a config file either

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 1, 2015
1 parent 0a1413d commit 45902daf7c12a3530c06df14cddc8e3acb3565c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/__main__.py
@@ -96,7 +96,7 @@ def main(args=None):
# the output of that command (the new site) in an unknown directory that is
# not the current working directory. (does not apply to `version`)
argname = args[0] if len(args) > 0 else None
if argname and argname not in ['init', 'version'] and not argname.startswith('import_'):
if argname and argname not in ['init', 'version', 'help'] and not argname.startswith('import_'):
root = get_root_dir()
if root:
os.chdir(root)

0 comments on commit 45902da

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