- Code: Select all
try:
import websoket
import wsaccel
websockets_included = True
except:
websockets_include = False
What I'm wondering is what would be the best way to report this to the user? Clearly a log message is one approach, but what about reporting this in the PluginConfig and/or Device dialogs, preventing devices from being created, etc? Are there any standard/suggested approaches to dealing with something like this?
Thanks,
-Bruce