Fix cover saving issue

This commit is contained in:
kramo
2023-04-10 20:05:41 +02:00
parent 7b4513913e
commit d136897c8c
4 changed files with 11 additions and 17 deletions

View File

@@ -117,10 +117,6 @@ class game(Gtk.Box): # pylint: disable=invalid-name
save_game(self.parent_widget, data)
def get_cover(self):
# If the cover is already in memory, return
if self.game_id in self.parent_widget.pixbufs:
return self.parent_widget.pixbufs[self.game_id]
# Create a new pixbuf
cover_path = (
self.parent_widget.data_dir