This commit is contained in:
vn.py 2017-10-31 21:33:01 +08:00
parent fbc29c6b5a
commit 7ca9b8da1f

View File

@ -340,7 +340,8 @@ class MainEngine(object):
#----------------------------------------------------------------------
def registerLogEvent(self, eventType):
"""注册日志事件监听"""
self.eventEngine.register(eventType, self.logEngine.processLogEvent)
if self.logEngine:
self.eventEngine.register(eventType, self.logEngine.processLogEvent)
#----------------------------------------------------------------------
def convertOrderReq(self, req):