From d06bad4641eca273bcc6bc342cf17a77f42147a6 Mon Sep 17 00:00:00 2001 From: aronwk-aaron Date: Sun, 16 Oct 2022 22:16:27 -0500 Subject: [PATCH] hotfix --- app/characters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/characters.py b/app/characters.py index 79decf2..dd814ed 100644 --- a/app/characters.py +++ b/app/characters.py @@ -234,7 +234,7 @@ def upload(id): character_data.xml_data = form.char_xml.data character_data.save() 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)) form.char_xml.data = character_data.xml_data return render_template("character/upload.html.j2", form=form)