1
0
Fork 0

plugin base: fix non-device commands invocation

This commit is contained in:
Jan Vcelak 2013-01-28 14:48:54 +01:00
parent 7b9da639b7
commit f532f3d679

View file

@ -319,7 +319,7 @@ class Plugin(object):
command["custom"](True, new_value)
else:
current_value = command["get"]()
self._storage_set(instance, command_name, current_value)
self._storage_set(instance, command, current_value)
command["set"](new_value)
def _cleanup_all_non_device_commands(self, instance):