From 71103ef2c1131c442e350eff12b62db872285798 Mon Sep 17 00:00:00 2001 From: wvi Date: Mon, 23 Dec 2013 21:32:10 +0100 Subject: [PATCH] Fix #1182# --- pelican/tools/pelican_quickstart.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pelican/tools/pelican_quickstart.py b/pelican/tools/pelican_quickstart.py index bb5ad1d1..b7ebd081 100755 --- a/pelican/tools/pelican_quickstart.py +++ b/pelican/tools/pelican_quickstart.py @@ -186,7 +186,8 @@ needed by Pelican. print('Using project associated with current virtual environment.' 'Will save to:\n%s\n' % CONF['basedir']) else: - CONF['basedir'] = os.path.abspath(ask('Where do you want to create your new web site?', answer=str_compat, default=args.path)) + CONF['basedir'] = os.path.abspath(os.path.expanduser( + ask('Where do you want to create your new web site?', answer=str_compat, default=args.path))) CONF['sitename'] = ask('What will be the title of this web site?', answer=str_compat, default=args.title) CONF['author'] = ask('Who will be the author of this web site?', answer=str_compat, default=args.author)