def GET(self): settings = get_settings() return template_render.mqtt( settings, gv.sd[u"name"], NO_MQTT_ERROR if mqtt is None else u"") # open settings page
def GET(self): settings = get_settings() return template_render.mqtt(settings, gv.sd[u'name'], NO_MQTT_ERROR if mqtt is None else "") # open settings page