diff --git a/src/character/models/character.py b/src/character/models/character.py index db6cf89..dadb869 100644 --- a/src/character/models/character.py +++ b/src/character/models/character.py @@ -435,7 +435,7 @@ class Character(models.Model): } | set(self.paths.all()) for path in character_paths: for capability in path.capabilities.all(): - capabilities_by_path[capability.path].append( # noqa: PERF401 + capabilities_by_path[capability.path].append( CharacterCapability( capability, known=capability in character_capabilities,