trying out web view for internet radio station management

workspace
Brendan Howell 4 years ago
parent d77fcf43f8
commit ef1ecdd357

@ -172,6 +172,7 @@ class Bureau(object):
""" set up ZeroMQ connections, printers, fonts and register commands"""
self.commands = {}
self.api = {}
self.webviews = {}
mypath = inspect.getfile(self.__class__)
self.mdir = os.path.dirname(mypath)
@ -369,7 +370,7 @@ class Bureau(object):
else:
self.send("IR", "addapi", api_detail)
elif hasattr(method, "webview"):
self.webview[method.webview] = method
self.webviews[method.webview] = method
webview_detail = { "name": method.name,
"prefix": self.prefix,
"webview": method.webview,

Loading…
Cancel
Save