diff --git a/pym/cl_template.py b/pym/cl_template.py index d23b2b6..fee6b45 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -2883,7 +2883,7 @@ class templateFunction(_error, _shareTemplate, _shareTermsFunction): cl_overriding.exit(1) textLine = terms[0] vals = textLine.split(".") - if vals!= 2: + if len(vals)!= 2: self.printErrTemplate() cl_overriding.exit(1) if filter(lambda x: not x.strip(), vals):