diff --git a/src/details_window.py b/src/details_window.py index 25d6069..33feff3 100644 --- a/src/details_window.py +++ b/src/details_window.py @@ -209,7 +209,7 @@ class DetailsWindow(Adw.Window): # Get a cover from SGDB if none is present if not self.game_cover.get_pixbuf(): self.game.set_loading(1) - sgdb_manager: SGDBManager = shared.store.managers[SGDBManager] + sgdb_manager: SGDBManager = shared.store.managers[SGDBManager][0] sgdb_manager.reset_cancellable() pipeline = Pipeline(self.game, {}, (sgdb_manager,)) pipeline.connect("advanced", self.update_cover_callback) diff --git a/src/store/store.py b/src/store/store.py index c65b7c8..fed0d60 100644 --- a/src/store/store.py +++ b/src/store/store.py @@ -45,6 +45,7 @@ class Store: # Cleanup removed games if game.removed: + # TODO: come back to this later for path in ( shared.games_dir / f"{game.game_id}.json", shared.covers_dir / f"{game.game_id}.tiff",