We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530138b commit 97be984Copy full SHA for 97be984
myDevices/plugins/manager.py
@@ -98,7 +98,10 @@ def convert_to_dict(self, value):
98
99
def is_plugin(self, plugin, channel):
100
"""Returns True if the specified plugin:channel is a valid plugin"""
101
- return plugin + ':' + channel in self.plugins.keys()
+ try:
102
+ return plugin + ':' + channel in self.plugins.keys()
103
+ except:
104
+ return False
105
106
def write_value(self, plugin, channel, value):
107
"""Write a value to a plugin actuator.
0 commit comments