From ef7458879b0d7fc8d8b275b758b571fb59ff876f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Tue, 4 Nov 2014 12:05:48 +0100 Subject: [PATCH] fixed empty return value in selection --- tests/scripts/cmdmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/cmdmgr.py b/tests/scripts/cmdmgr.py index 8b1df852..1ed70aa8 100755 --- a/tests/scripts/cmdmgr.py +++ b/tests/scripts/cmdmgr.py @@ -28,7 +28,7 @@ def get_selection(title, options): selection = raw_input("Enter selection: ") if not selection: print "-> error in selection" - return + return None return int(selection) def send_command(method, params = None):