Bugfiks 2
This commit is contained in:
parent
b017c01994
commit
3dc42b6565
|
@ -205,7 +205,7 @@ class Menu():
|
||||||
if result == '':
|
if result == '':
|
||||||
if default is not None:
|
if default is not None:
|
||||||
return default
|
return default
|
||||||
elif null_allowed
|
elif null_allowed:
|
||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
value = int(result)
|
value = int(result)
|
||||||
|
|
Loading…
Reference in New Issue