Browse Source

shut up, pylint

feature_tests
Burathar 4 years ago
parent
commit
d93cfa3570
  1. 1
      app/models.py

1
app/models.py

@ -145,6 +145,7 @@ class Player(UserMixin, db.Model): @@ -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:

Loading…
Cancel
Save