Bugfiks 2
This commit is contained in:
parent
71572d0c1f
commit
b017c01994
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue