diff --git a/pym/cl_template.py b/pym/cl_template.py index 7294f6a..0dab036 100644 --- a/pym/cl_template.py +++ b/pym/cl_template.py @@ -1279,7 +1279,7 @@ class xmlDoc: fieldsVal[0]) if not fieldValue: return False - if fieldValue[0].firstChild + if fieldValue[0].firstChild: return fieldValue[0].firstChild.nodeValue else: return False