diff --git a/app/models/game.py b/app/models/game.py index 2367b1b..ed433d2 100644 --- a/app/models/game.py +++ b/app/models/game.py @@ -32,7 +32,7 @@ class Game(db.Model): def last_player_locations(self, offset=None): # pylint: disable=not-an-iterable - return [location for location in + return [location for location in [player.last_location(offset=offset) for player in self.players if player.user.locations] if location is not None]