From 5c6bfc8b3e03c3b6d8413d70867e36e10836f1f7 Mon Sep 17 00:00:00 2001 From: GeoffreyCoulaud Date: Fri, 5 May 2023 03:07:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Added=20todo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/importer/sources/lutris_source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/importer/sources/lutris_source.py b/src/importer/sources/lutris_source.py index 9a832d4..9eea67b 100644 --- a/src/importer/sources/lutris_source.py +++ b/src/importer/sources/lutris_source.py @@ -69,10 +69,10 @@ class LutrisSourceIterator(SourceIterator): # Save official image image_path = self.source.cache_location / "coverart" / f"{row[2]}.jpg" if image_path.exists(): - resized = resize_cover(self.win, image_path) - save_cover(self.win, values["game_id"], resized) + resized = resize_cover(self.source.win, image_path) + save_cover(self.source.win, values["game_id"], resized) - # Save SGDB + # TODO Save SGDB return values