mirror of
https://github.com/karl0ss/comfy_fm24_newgens.git
synced 2025-04-28 20:03: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]
|
||||
|
||||
# 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
|
||||
tree = ET.ElementTree(root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user