chore: remove unnecessary code

This check is made inside the called tool too. Therefore removing it here.

Signed-off-by: mryel00 <mryel00.github@gmail.com>
This commit is contained in:
mryel00
2024-05-10 21:23:31 +02:00
parent 9d4a5843b3
commit f8117ebdc0

View File

@@ -28,7 +28,6 @@ from utils.git_utils import (
get_remote_commit,
git_pull_wrapper,
)
from utils.input_utils import get_confirm
from utils.logger import Logger
from utils.sys_utils import (
parse_packages_from_file,
@@ -79,10 +78,6 @@ def configure_multi_instance(instances: List[Klipper]) -> None:
Logger.print_status("\nLaunching crowsnest's configuration tool ...")
if not get_confirm("Continue with configuration?", False, allow_go_back=True):
Logger.print_info("Installation aborted by user ... Exiting!")
return
config = Path(CROWSNEST_DIR).joinpath("tools/.config")
try:
run(