diff options
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index 789b57bd2..3621742e5 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -142,7 +142,7 @@ def term_decode(text): def do_prompt(d, key, text, default=None, validator=nonempty): while True: - if default: + if default is not None: prompt = PROMPT_PREFIX + '%s [%s]: ' % (text, default) else: prompt = PROMPT_PREFIX + text + ': ' |