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!')