From b017c019942d4afb9ca981e3d933b4d89647b6ee Mon Sep 17 00:00:00 2001 From: sjonfjel Date: Mon, 11 Feb 2013 19:23:48 +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 f512496..401036f 100755 --- a/text_based.py +++ b/text_based.py @@ -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