def autoNMJ(self, **data): nmj = NMJ() cherrypy.response.headers['Content-Type'] = 'text/javascript' return nmj.auto(data.get('NMJ.host'))
def autoNMJ(self, **data): nmj = NMJ() cherrypy.response.headers["Content-Type"] = "text/javascript" return nmj.auto(data.get("NMJ.host"))