mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-21 21:17:23 +00:00
fix it
This commit is contained in:
parent
1c9ee91b78
commit
a10b8d7975
@ -187,12 +187,14 @@ def remove_buffs():
|
||||
chars = CharacterXML.query.all()
|
||||
for char in chars:
|
||||
character_xml = ET.XML(char.xml_data.replace("\"stt=", "\" stt="))
|
||||
dest = character_xml.find(".//buff...")
|
||||
dest = character_xml.find(".//dest")
|
||||
if dest:
|
||||
dest.remove(character_xml.find(".//buff"))
|
||||
buff = character_xml.find(".//buff")
|
||||
if buff:
|
||||
dest.remove(buff)
|
||||
char.xml_data = ET.tostring(character_xml)
|
||||
char.save()
|
||||
|
||||
|
||||
@click.command("gen_image_cache")
|
||||
def gen_image_cache():
|
||||
"""generates image cache"""
|
||||
|
Loading…
Reference in New Issue
Block a user