修复loadMongoSetting的返回项多了一个log返回值的bug

This commit is contained in:
msincenselee 2017-04-10 23:05:49 +08:00
parent 1f0b500559
commit abf8e95e4e

View File

@ -245,7 +245,7 @@ class MainEngine(object):
"""连接MongoDB数据库"""
if not self.dbClient:
# 读取MongoDB的设置
host, port = loadMongoSetting()
host, port, log = loadMongoSetting()
try:
# 设置MongoDB操作的超时时间为0.5秒