diff --git a/app/models.py b/app/models.py index 4c73bcd..4e8f259 100644 --- a/app/models.py +++ b/app/models.py @@ -155,7 +155,6 @@ class Player(UserMixin, db.Model): return max((location for location in self.locations if location.timestamp > game_start and location.timestamp < game_end), key=lambda location: location.timestamp) - @staticmethod def delete_orphans(): Player.query.filter(~Player.player_games.any()).delete()