fixed title type tag

This commit is contained in:
steven
2021-03-11 21:29:43 +01:00
parent 5456a0bcb5
commit 0ab1f1fcd1
+1 -1
View File
@@ -118,7 +118,7 @@ def addTitle(tree, title, metadata):
ams_attributes = createAMSattributes('title', metadata) ams_attributes = createAMSattributes('title', metadata)
titleTree = ET.SubElement(tree, 'Metadata') titleTree = ET.SubElement(tree, 'Metadata')
ET.SubElement(titleTree, 'AMS', ams_attributes) ET.SubElement(titleTree, 'AMS', ams_attributes)
ET.SubElement(titleTree, 'App_Data', {'App': 'MOD', 'Type': 'title'}) ET.SubElement(titleTree, 'App_Data', {'App': 'MOD', 'Name': 'Type', 'Value': 'title'})
for element in title: for element in title:
# check if there are multiple elements available # check if there are multiple elements available