From f2c27280e1fae389220c22fd1ca3963c64743472 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期五, 21 十二月 2018 11:25:01 +0800 Subject: [PATCH] 5424 【后端】【1.4】跨服竞技场开发(封包、定义、公共函数) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py index 5e20d9a..8332ced 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ReadChConfig.py @@ -219,7 +219,7 @@ # @param option: 配置项名 # @return # @remarks \db\PyMongoDataServer\PyMongoDataServer.ini配置读取 -def GetPyMongoConfig(section, option): +def GetPyMongoConfig(section, option, raw=False): global PyMongoDataServerConfig if not PyMongoDataServerConfig: @@ -237,7 +237,7 @@ GameWorld.ErrLog("PyMongoDataServer.ini找不到配置: section=%s,option=%s" % (section, option)) return "" - strParam = PyMongoDataServerConfig.get(section, option) + strParam = PyMongoDataServerConfig.get(section, option, raw) return strParam def GetDBConfig(key): return __DoLogic_GetDBConfig(key) -- Gitblit v1.8.0