rclpdf.py: fixed typo in processing xmp field names

This commit is contained in:
Jean-Francois Dockes 2019-10-14 19:46:46 +02:00
parent b253b3ed52
commit 6d2454aedb

View File

@ -454,7 +454,7 @@ class PDFExtractor:
prefix,nm = metanm.split(":")
fullnm = "{%s}%s" % (rdfdesc.nsmap[prefix], nm)
except:
fullnm = nm
fullnm = metanm
text = rdfdesc.get(fullnm)
# Should we set empty values ?
if text: