mirror of https://github.com/nymea/nymea.git
fixed empty return value in selection
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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue