|
|
@ -2694,8 +2694,9 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction):
|
|
|
|
|
|
|
|
|
|
|
|
def getTimeFile(self, fileName):
|
|
|
|
def getTimeFile(self, fileName):
|
|
|
|
# Получаем время модификации файла
|
|
|
|
# Получаем время модификации файла
|
|
|
|
if fileName in self.timeConfigsIni:
|
|
|
|
nameEnvFile = os.path.split(fileName)[1]
|
|
|
|
return self.timeConfigsIni[fileName]
|
|
|
|
if nameEnvFile in self.timeConfigsIni:
|
|
|
|
|
|
|
|
return self.timeConfigsIni[nameEnvFile]
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
|
|
def funcIni(self, funArgv, resS, localVars, textTemplateTmp):
|
|
|
|
def funcIni(self, funArgv, resS, localVars, textTemplateTmp):
|
|
|
@ -3381,7 +3382,8 @@ re.M|re.S)
|
|
|
|
self.objVar.Set("cl_pass_file",nameFileConfig)
|
|
|
|
self.objVar.Set("cl_pass_file",nameFileConfig)
|
|
|
|
# Пишем время модификации *.env файлов
|
|
|
|
# Пишем время модификации *.env файлов
|
|
|
|
if nameFileConfig.endswith(".env"):
|
|
|
|
if nameFileConfig.endswith(".env"):
|
|
|
|
self.functObj.timeConfigsIni[nameFileConfig] = float(time.time())
|
|
|
|
nameEnvFile = os.path.split(nameFileConfig)[1]
|
|
|
|
|
|
|
|
self.functObj.timeConfigsIni[nameEnvFile] = float(time.time())
|
|
|
|
filesApl = self.join(path, nameFileConfig,(self.programVersion,
|
|
|
|
filesApl = self.join(path, nameFileConfig,(self.programVersion,
|
|
|
|
templTitle), optFile)
|
|
|
|
templTitle), optFile)
|
|
|
|
if self.getError():
|
|
|
|
if self.getError():
|
|
|
|