From acb287ebc0b5feab8a4bdf0340ca5dc5f41011db Mon Sep 17 00:00:00 2001 From: SuperSonic Date: Wed, 26 Feb 2020 23:26:22 +0800 Subject: [PATCH] Update --- libs/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/data.py b/libs/data.py index d7849fa..e06e1bb 100644 --- a/libs/data.py +++ b/libs/data.py @@ -14,7 +14,7 @@ import time from tornado.httpclient import HTTPClient, HTTPRequest from yuuki_core.ttypes import OpType -from .data_mds import listen as msd_listen +from .data_mds import listen as mds_listen from .thread_control import Yuuki_Multiprocess from .thread_control import Yuuki_Thread @@ -109,7 +109,7 @@ class Yuuki_Data: if self.threading: self.mdsHost = "http://localhost:2019/" self.mdsCode = "{}.{}".format(random.random(), time.time()) - self.MdsThreadControl.add(msd_listen, (self.mdsCode,)) + self.MdsThreadControl.add(mds_listen, (self.mdsCode,)) # MDS Sync