This commit is contained in:
kramo
2023-03-16 01:09:56 +01:00
parent c91e721824
commit fd395dfa36
2 changed files with 2 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ from gi.repository import GdkPixbuf
def get_cover(game_id, parent_widget):
if game_id in parent_widget.pixbufs.keys():
return parent_widget.pixbufs[game_id]
cover_path = os.path.join(
os.environ.get("XDG_DATA_HOME"), "cartridges", "covers", game_id + ".jpg"
)