diff --git a/pym/cl_datavars.py b/pym/cl_datavars.py index e491695..4f6a92c 100644 --- a/pym/cl_datavars.py +++ b/pym/cl_datavars.py @@ -462,7 +462,7 @@ storage of variables templates")%location config = iniParser(name_calculate_ini) # получаем значение переменной из секции data = config.getVar(section, name_var, checkExistVar=True) - if value is False: + if data is False: return False existsVar, value = data if existsVar: