mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-21 21:17:23 +00:00
fixt copy/paste error
This commit is contained in:
parent
8ec3803786
commit
5c2721cd65
@ -186,10 +186,10 @@ def remove_buffs():
|
|||||||
"""Clears all buff from all characters"""
|
"""Clears all buff from all characters"""
|
||||||
chars = CharacterXML.query.all()
|
chars = CharacterXML.query.all()
|
||||||
for char in chars:
|
for char in chars:
|
||||||
character_xml = ET.XML(character_data.xml_data.replace("\"stt=", "\" stt="))
|
character_xml = ET.XML(char.xml_data.replace("\"stt=", "\" stt="))
|
||||||
dest = character_xml.find(".//buff...")
|
dest = character_xml.find(".//buff...")
|
||||||
dest.remove(character_xml.find(".//buff"))
|
dest.remove(character_xml.find(".//buff"))
|
||||||
character_data.save()
|
char.save()
|
||||||
|
|
||||||
|
|
||||||
@click.command("gen_image_cache")
|
@click.command("gen_image_cache")
|
||||||
|
Loading…
Reference in New Issue
Block a user