From 3dc42b6565bf68d810a9bd44ea57cba1a49c5697 Mon Sep 17 00:00:00 2001 From: sjonfjel Date: Mon, 11 Feb 2013 19:24:22 +0000 Subject: [PATCH] Bugfiks 2 --- text_based.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_based.py b/text_based.py index 401036f..3a9266f 100755 --- a/text_based.py +++ b/text_based.py @@ -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)