修复空文件生成的BUG
This commit is contained in:
parent
18ba47e255
commit
154e48a805
@ -82,8 +82,10 @@ class DispatchHandler(tornado.web.RequestHandler):
|
|||||||
self.write(json.dumps({'errcode': 0, 'errmsg': '', 'healthy': 1, 'max_rundelay': 10}, separators=(',', ':')))
|
self.write(json.dumps({'errcode': 0, 'errmsg': '', 'healthy': 1, 'max_rundelay': 10}, separators=(',', ':')))
|
||||||
|
|
||||||
def _selfGetReport(self):
|
def _selfGetReport(self):
|
||||||
self.suffix = 23
|
# self.suffix = 23
|
||||||
self.api_key = 'OgOWG9CMq12HcE6d8nIisKELDQMWe0XJobj9evyA5NbcmHClQYV4oIorR2NdaiMk'
|
# self.api_key = 'OgOWG9CMq12HcE6d8nIisKELDQMWe0XJobj9evyA5NbcmHClQYV4oIorR2NdaiMk'
|
||||||
|
self.suffix = 7
|
||||||
|
self.api_key = 'UZUfYAwJoODl03IIEDGDV7FjKGpgepY6WGWQ4E1FcN1cP4Y5QX3xUBz4nnqhPsnU'
|
||||||
gc = GetTgaConfig()
|
gc = GetTgaConfig()
|
||||||
self.url = gc.url
|
self.url = gc.url
|
||||||
self.tga = FromTga(url=self.url, token=self.api_key)
|
self.tga = FromTga(url=self.url, token=self.api_key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user