From 9270baeb49596bf8d3ca85aaec3eca41b06bad4e Mon Sep 17 00:00:00 2001 From: jessebot Date: Tue, 9 Jan 2024 12:12:58 +0100 Subject: [PATCH] fix tui issue with custom config files --- smol_k8s_lab/tui/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/smol_k8s_lab/tui/__init__.py b/smol_k8s_lab/tui/__init__.py index 8a49df7e9..e8b92ac48 100644 --- a/smol_k8s_lab/tui/__init__.py +++ b/smol_k8s_lab/tui/__init__.py @@ -1,5 +1,4 @@ from smol_k8s_lab.tui.base import BaseApp -from smol_k8s_lab.constants import load_yaml from smol_k8s_lab.utils.rich_cli.console_logging import print_msg import sys @@ -9,8 +8,7 @@ def launch_config_tui(config_file: str = ""): Run all the TUI screens """ if config_file: - config = load_yaml(config_file) - res = BaseApp(config).run() + res = BaseApp(config_file).run() else: res = BaseApp().run() if not res: