|
@@ -121,7 +121,7 @@ class COptionConfig(TConfig, CBaseLog):
|
|
|
# 使用顶层配图(first parent)
|
|
|
icon_path = os.path.join(self.__uiTreeDir, "icon\\" + first_parent + "." + cur_level + "_" + optionName + ".png")
|
|
|
icon_dir_path = os.path.join(self.__uiTreeDir, "icon\\" + first_parent + "." + cur_level + "_" + optionName + ".dir.png")
|
|
|
- opc_cfg = self.get_value_dict(cur_level, first_parent)
|
|
|
+ opc_cfg = self.get_value_dict(cur_level, first_parent + '.' + optionName)
|
|
|
self.warn(u"Option(%s)次配图片不存在,尝试使用顶层配图(%s):%s,配置%s" % (optionName, first_parent, icon_path, opc_cfg))
|
|
|
# 如果顶层配图不存在,退出;
|
|
|
if not os.path.exists(icon_path):
|