Browse Source

shut up, pylint

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

1
app/models.py

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

Loading…
Cancel
Save