Skip to content

Commit

Permalink
fix tui issue with custom config files
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebot committed Jan 9, 2024
1 parent 1f1f7e0 commit 9270bae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions smol_k8s_lab/tui/__init__.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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:
Expand Down

0 comments on commit 9270bae

Please sign in to comment.