Skip to content

Commit

Permalink
grouvee: change list comp to generator
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed May 27, 2023
1 parent a7657d5 commit cd2b5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my/grouvee/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def games() -> Iterator[G.Game]:

def _filter_games_for_shelf(name: str) -> Iterator[G.Game]:
for game in games():
if name in [s.name for s in game.shelves]:
if name in (s.name for s in game.shelves):
yield game


Expand Down

0 comments on commit cd2b5b9

Please sign in to comment.