mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-21 21:17:23 +00:00
hotfix
This commit is contained in:
parent
1f2673d7fc
commit
d06bad4641
@ -234,7 +234,7 @@ def upload(id):
|
|||||||
character_data.xml_data = form.char_xml.data
|
character_data.xml_data = form.char_xml.data
|
||||||
character_data.save()
|
character_data.save()
|
||||||
flash("You accept all consequences from these actions", "danger")
|
flash("You accept all consequences from these actions", "danger")
|
||||||
log_audit(f"Updated {character_data.name}'s xml data")
|
log_audit(f"Updated {character_data.id}'s xml data")
|
||||||
return redirect(url_for('characters.view', id=id))
|
return redirect(url_for('characters.view', id=id))
|
||||||
form.char_xml.data = character_data.xml_data
|
form.char_xml.data = character_data.xml_data
|
||||||
return render_template("character/upload.html.j2", form=form)
|
return render_template("character/upload.html.j2", form=form)
|
||||||
|
Loading…
Reference in New Issue
Block a user