Bugfiks 2
This commit is contained in:
parent
71572d0c1f
commit
b017c01994
|
@ -202,7 +202,7 @@ class Menu():
|
|||
prompt += ("[%s] " % default)
|
||||
while True:
|
||||
result = self.input_str(prompt)
|
||||
if result = '':
|
||||
if result == '':
|
||||
if default is not None:
|
||||
return default
|
||||
elif null_allowed
|
||||
|
|
Loading…
Reference in New Issue