fixed empty return value in selection
This commit is contained in:
parent
a8265c36a1
commit
ef7458879b
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user