Exemplo n.º 1
0
def migrate():
    """Run migration"""
    try:
        game_ids = get_hidden_ids()
    except:
        print("Failed to read hidden game IDs")
        return []
    for game_id in game_ids:
        game = Game(game_id)
        game.hide()
    settings.write_setting("library_ignores", '', section="lutris")