Bugfiks 2

This commit is contained in:
Vegard Aksland Sjonfjell 2013-02-11 19:24:22 +00:00
parent b017c01994
commit 3dc42b6565
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class Menu():
if result == '':
if default is not None:
return default
elif null_allowed
elif null_allowed:
return False
try:
value = int(result)