cli: fix incorrect output of `solaar config`
This commit is contained in:
parent
2f702b7ca3
commit
b93b4f6bc3
|
@ -145,7 +145,7 @@ def run(receivers, args, find_receiver, find_device):
|
|||
_print_setting(setting)
|
||||
return
|
||||
|
||||
message, result, value = set(dev, setting, args)
|
||||
result, message, value = set(dev, setting, args)
|
||||
print(message)
|
||||
if result is None:
|
||||
raise Exception("%s: failed to set value '%s' [%r]" % (setting.name, str(value), value))
|
||||
|
|
Loading…
Reference in New Issue