From 41745f283eeea9aba751ff76e5abb7abee25fa34 Mon Sep 17 00:00:00 2001 From: Spencer Brown Date: Sat, 14 Sep 2024 16:29:33 +1000 Subject: [PATCH] This parameter is unused --- src/app/UI.py | 1 - src/ui_tk/core.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/UI.py b/src/app/UI.py index a509081f..e93347a9 100644 --- a/src/app/UI.py +++ b/src/app/UI.py @@ -468,7 +468,6 @@ def __repr__(self) -> str: async def load_packages( core_nursery: trio.Nursery, packset: packages.PackagesSet, - tk_img: TKImages, ) -> None: """Import in the list of items and styles from the packages. diff --git a/src/ui_tk/core.py b/src/ui_tk/core.py index 4c1773cb..0c01e3f1 100644 --- a/src/ui_tk/core.py +++ b/src/ui_tk/core.py @@ -79,7 +79,7 @@ async def init_app(core_nursery: trio.Nursery) -> None: core_nursery.start_soon(img.init, TK_IMG) core_nursery.start_soon(localisation.load_aux_langs, gameMan.all_games, packset) - await async_util.run_as_task(UI.load_packages, core_nursery, packset, TK_IMG) + await async_util.run_as_task(UI.load_packages, core_nursery, packset) await loadScreen.MAIN_UI.step('package_load') LOGGER.info('Done!')