From 5e8e1eaf0cd90af2f67cae698be009e729d0c23c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D0=BC=D0=BE=D1=83=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= Date: Wed, 26 May 2010 12:34:36 +0400 Subject: [PATCH] Bugfix --- pym/cl_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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