Unify games import

This commit is contained in:
kramo
2023-03-29 00:23:23 +02:00
parent 3f4443d703
commit 643ca368a6
16 changed files with 252 additions and 331 deletions

View File

@@ -25,7 +25,7 @@ import sys
from gi.repository import GdkPixbuf, Gio, Gtk
from .save_games import save_games
from .save_game import save_game
@Gtk.Template(resource_path="/hu/kramo/Cartridges/gtk/game.ui")
@@ -120,7 +120,7 @@ class game(Gtk.Box): # pylint: disable=invalid-name
data["hidden"] = not data["hidden"]
save_games({self.game_id: data})
save_game(data)
def get_cover(self):