Browse Source

remove linebreak

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

1
app/models.py

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

Loading…
Cancel
Save