Add itch import

This commit is contained in:
kramo
2023-04-03 18:17:53 +02:00
parent a4c28449a7
commit f18894bf10
10 changed files with 226 additions and 39 deletions

View File

@@ -21,7 +21,7 @@
from gi.repository import GdkPixbuf, Gio
def save_cover(parent_widget, game_id, cover_path, pixbuf=None):
def save_cover(parent_widget, game_id, cover_path=None, pixbuf=None):
covers_dir = parent_widget.data_dir / "cartridges" / "covers"
covers_dir.mkdir(parents=True, exist_ok=True)