This commit is contained in:
Gabriel Augendre 2023-07-04 13:38:12 +02:00 committed by crocmagnon-pr[bot]
parent 5f7efb9a79
commit 434db242b2

View file

@ -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(
capabilities_by_path[capability.path].append( # noqa: PERF401
CharacterCapability(
capability,
known=capability in character_capabilities,