From cd2b5b97a410c3d75825677e34da42af782f77f8 Mon Sep 17 00:00:00 2001 From: Sean Breckenridge Date: Fri, 26 May 2023 17:54:16 -0700 Subject: [PATCH] grouvee: change list comp to generator --- my/grouvee/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my/grouvee/export.py b/my/grouvee/export.py index 3b500ea7..ecb07494 100644 --- a/my/grouvee/export.py +++ b/my/grouvee/export.py @@ -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