Docs: Add info about pelican-quickstart command path flag. (#2675)

This commit is contained in:
Carlos Pereira Atencio 2020-02-26 18:54:05 +00:00 committed by GitHub
commit f2dbfbfcec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -200,7 +200,7 @@ needed by Pelican.
no_path_was_specified = hasattr(args.path, 'is_default_path')
if os.path.isfile(project) and no_path_was_specified:
CONF['basedir'] = open(project, 'r').read().rstrip("\n")
print('Using project associated with current virtual environment.'
print('Using project associated with current virtual environment. '
'Will save to:\n%s\n' % CONF['basedir'])
else:
CONF['basedir'] = os.path.abspath(os.path.expanduser(