This commit is contained in:
kramo
2023-04-16 12:52:06 +02:00
parent aea8a6ed5f
commit 4b11a2737a
5 changed files with 15 additions and 19 deletions

View File

@@ -57,7 +57,7 @@ def save_cover(
if animation_path:
copyfile(animation_path, win.covers_dir / f"{game_id}.gif")
win.game_covers[game_id].new_pixbuf(path=animation_path)
win.game_covers[game_id].new_pixbuf(animation_path)
return
if not pixbuf:
@@ -74,4 +74,4 @@ def save_cover(
["8"] if win.schema.get_boolean("high-quality-images") else ["7"],
)
win.game_covers[game_id].new_pixbuf(pixbuf=pixbuf)
win.game_covers[game_id].new_pixbuf(win.covers_dir / f"{game_id}.tiff")