@ -145,6 +145,7 @@ class Player(UserMixin, db.Model):
return check_password_hash(self.password_hash, password)
def last_location(self, game=None):
# pylint: disable=not-an-iterable
if not self.locations:
return None
if game is None: