diff --git a/pym/cl_template.py b/pym/cl_template.py index cc9a335..1341e74 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -34,8 +34,6 @@ import cl_overriding from cl_utils import _error, _toUNICODE, getModeFile, removeDir, typeFile,\ scanDirectory, convertStrListDict -from convertenv import convertEnv - import cl_lang tr = cl_lang.lang() tr.setLocalDomain('cl_lib') @@ -2316,6 +2314,7 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction): if os.access(envFile, os.R_OK): self.convObj = False elif os.access("/var/calculate/remote/calculate.env", os.R_OK): + from convertenv import convertEnv self.convObj = convertEnv() def equalTerm(self, term, localVars):