diff --git a/esales/models.py b/esales/models.py index 4705ad5..0a502cd 100644 --- a/esales/models.py +++ b/esales/models.py @@ -20,9 +20,7 @@ class Category(object): if self.attributes: attributes = SubElement(root, "attributes") for k, v in self.attributes.items(): - s = str(v) - if s: - SubElement(attributes, k).text = s + SubElement(attributes, k).text = str(v) return root