Bugfiks 2

This commit is contained in:
Vegard Aksland Sjonfjell 2013-02-11 19:23:48 +00:00
parent 71572d0c1f
commit b017c01994
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ class Menu():
prompt += ("[%s] " % default) prompt += ("[%s] " % default)
while True: while True:
result = self.input_str(prompt) result = self.input_str(prompt)
if result = '': if result == '':
if default is not None: if default is not None:
return default return default
elif null_allowed elif null_allowed