Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: rashidakanchwala <[email protected]>
  • Loading branch information
rashidakanchwala committed Nov 26, 2024
1 parent 65041c4 commit 242f35b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package/kedro_viz/launchers/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 242f35b

Please sign in to comment.