def add_games_by_ids(self, game_ids): self.media_loaded = False games = pga.get_games_by_ids(game_ids) AsyncCall(self.get_missing_media, None, [game["slug"] for game in games]) self.add_games(games)
def add_games_by_ids(self, game_ids): self.add_games(pga.get_games_by_ids(game_ids))
def add_games_by_ids(self, game_ids): self.media_loaded = False games = pga.get_games_by_ids(game_ids) game_slugs = [game["slug"] for game in games] GLib.idle_add(self.get_missing_media, game_slugs) self.add_games(games)