| | |
| | |
|
| | | def __LoadFileData(self, tableName, onlyCheck=False):
|
| | | # @param onlyCheck: 是否仅检查格式,一般启动时用
|
| | | curPath = ChConfig.GetDBPath() + "\\PySysDB\\" + tableName + ".txt"
|
| | | curPath = ChConfig.GetServerConfigPath() + "\\PySysDB\\" + tableName + ".txt"
|
| | | if not os.path.isfile(curPath):
|
| | | curPath = ChConfig.GetDBPath() + "\\PySysDB\\tag" + tableName + ".txt"
|
| | | curPath = ChConfig.GetServerConfigPath() + "\\PySysDB\\tag" + tableName + ".txt"
|
| | | if not os.path.isfile(curPath):
|
| | | ErrLog("can not find file = %s,%s" % (tableName, curPath))
|
| | | raise Exception("can not find file = %s,%s" % (tableName, curPath))
|