fixed empty return value in selection

pull/135/head
Simon Stürz 2014-11-04 12:05:48 +01:00 committed by Michael Zanetti
parent a8265c36a1
commit ef7458879b
1 changed files with 1 additions and 1 deletions

View File

@ -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):