mirror of
https://github.com/karl0ss/comfy_fm24_newgens.git
synced 2025-04-29 04:13:40 +01:00
xml generation fix
This commit is contained in:
parent
9cb3ae88d2
commit
e82f22bd31
@ -19,7 +19,7 @@ def create_config_xml(folder_path):
|
|||||||
uid = os.path.splitext(filename)[0]
|
uid = os.path.splitext(filename)[0]
|
||||||
|
|
||||||
# Create a record for each file
|
# Create a record for each file
|
||||||
ET.SubElement(maps, "record", from_=uid, to=f"graphics/pictures/person/r-{uid}/portrait")
|
ET.SubElement(maps, "record", attrib={"from": uid, "to": f"graphics/pictures/person/r-{uid}/portrait"})
|
||||||
|
|
||||||
# Create the XML tree
|
# Create the XML tree
|
||||||
tree = ET.ElementTree(root)
|
tree = ET.ElementTree(root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user