fixed title type tag
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user