proper update regarding last commit

This commit is contained in:
Miroslav Stampar
2011-03-29 22:10:08 +00:00
parent 850328df6c
commit dd01d66f13
3 changed files with 2 additions and 3 deletions

View File

@@ -677,7 +677,7 @@ def readInput(message, default=None):
elif message[-1] == ']':
message += " "
if conf.batch and default:
if conf.batch and default is not None:
if isinstance(default, (list, tuple, set)):
options = ",".join([getUnicode(opt, UNICODE_ENCODING) for opt in default])
else: