Commit a87050ac authored by David Johnson's avatar David Johnson

Minor bugfix: do not leak None from lxml; convert to empty string.

parent 2deb7d2c
......@@ -13,6 +13,8 @@ def convert(p,v):
v = 1
elif v in [ "False","false" ]:
v = 0
elif v == None:
return ""
return v
# Find our node and dump any labels:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment