Skip to content

Commit

Permalink
fix: add missing brackets to method call
Browse files Browse the repository at this point in the history
  • Loading branch information
mglst committed Nov 25, 2024
1 parent 7d65ae8 commit 9b51f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/database/player_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def prerequisites(self, value: list[int]):

def recompute_prerequisites_and_level(self) -> None:
"""Recompute the prerequisites and level of an ongoing construction."""
self.prerequisites, self.level = self._compute_prerequisites_and_level
self.prerequisites, self.level = self._compute_prerequisites_and_level()

def _compute_prerequisites_and_level(self) -> tuple[list[int], int]:
"""Compute the prerequisites and level of an ongoing construction."""
Expand Down

0 comments on commit 9b51f10

Please sign in to comment.