def home(): version = FastHQChart.GetVersion() return '''<h1>HQChartPy2</h1> <p>版本号:{0}</p> <p>授权信息:{1}</p>'''.format(version, FastHQChart.Authorize)
def SelectOnConnect(): version = FastHQChart.GetVersion() emit('HQChartPy_Ready', { 'Version': version, "Authorize": FastHQChart.Authorize })