From df07ff357af3b2353303af65f55be237b9c8c88d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 2 Nov 2022 20:39:43 +0100 Subject: [PATCH] Fix init mod display --- src/character/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/character/views.py b/src/character/views.py index 325d4cc..5b96261 100644 --- a/src/character/views.py +++ b/src/character/views.py @@ -5,6 +5,7 @@ from django_htmx.http import trigger_client_event from character.forms import AddPathForm, EquipmentForm from character.models import Capability, Character, Path +from character.templatetags.character_extras import modifier @login_required @@ -179,7 +180,7 @@ def character_get_initiative(request, pk: int): ), pk=pk, ) - return HttpResponse(character.modifier_initiative) + return HttpResponse(modifier(character.modifier_initiative)) @login_required