Skip to content

Commit

Permalink
Do not reject game from list by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatsik committed Jan 9, 2025
1 parent 7522a5c commit 8229340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/games/filters/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def rejects(self, game: Game) -> bool:
return op(game.average_rating, int(self.value))
except (TypeError, ValueError):
pass
return True
return False

def accepts(self, game: Game) -> bool:
return not self.rejects(game)

0 comments on commit 8229340

Please sign in to comment.