From 242f35b5d161c5f2266a6407f689037439108d9e Mon Sep 17 00:00:00 2001 From: rashidakanchwala Date: Tue, 26 Nov 2024 13:50:01 +0000 Subject: [PATCH] fix lint Signed-off-by: rashidakanchwala --- package/kedro_viz/launchers/cli/run.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/kedro_viz/launchers/cli/run.py b/package/kedro_viz/launchers/cli/run.py index 2b2829a17..c27218b3a 100644 --- a/package/kedro_viz/launchers/cli/run.py +++ b/package/kedro_viz/launchers/cli/run.py @@ -123,11 +123,10 @@ def run( ) from kedro_viz.server import run_server - if load_file: if not Path(load_file).exists(): raise ValueError(f"The provided filepath '{load_file}' does not exist.") - kedro_project_path = None + kedro_project_path = None else: kedro_project_path = _find_kedro_project(Path.cwd()) if kedro_project_path is None: