修复loadMongoSetting的返回项多了一个log返回值的bug
This commit is contained in:
parent
1f0b500559
commit
abf8e95e4e
@ -245,7 +245,7 @@ class MainEngine(object):
|
|||||||
"""连接MongoDB数据库"""
|
"""连接MongoDB数据库"""
|
||||||
if not self.dbClient:
|
if not self.dbClient:
|
||||||
# 读取MongoDB的设置
|
# 读取MongoDB的设置
|
||||||
host, port = loadMongoSetting()
|
host, port, log = loadMongoSetting()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# 设置MongoDB操作的超时时间为0.5秒
|
# 设置MongoDB操作的超时时间为0.5秒
|
||||||
|
Loading…
Reference in New Issue
Block a user