This commit is contained in:
Kovid Goyal 2015-05-27 09:44:36 +05:30
parent d821086eeb
commit a918726301

View File

@ -81,6 +81,7 @@ def serialize_xmp_packet(root, encoding='utf-8'):
def read_simple_property(elem):
# A simple property
if elem is not None:
if elem.text:
return elem.text
return elem.get(expand('rdf:resource'), '')