Cleanups
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user