games: Correctly break if setting an image was successful

This commit is contained in:
Jamie Gravendeel
2025-11-29 18:38:02 +01:00
committed by Laura Kramolis
parent 513e638663
commit a3fef27505

View File

@@ -59,6 +59,8 @@ def load() -> Generator[Game]:
game.cover = Gdk.Texture.new_from_filename(filename)
except GLib.Error:
continue
else:
break
yield game