Skip to content

Commit

Permalink
Update starters.py
Browse files Browse the repository at this point in the history
Signed-off-by: SajidAlamQB <90610031+SajidAlamQB@users.noreply.github.com>
  • Loading branch information
SajidAlamQB committed Oct 26, 2023
1 parent 00fdf1d commit fc9bca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kedro/framework/cli/starters.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def _create_project(template_path: str, cookiecutter_args: dict[str, Any]):
add_ons = extra_context.get("add_ons")

# Only core template and spaceflights-pyspark have configurable add-ons
if template_path == str(TEMPLATE_PATH) or "Pyspark" in add_ons:
if template_path == str(TEMPLATE_PATH) or add_ons is not None and "Pyspark" in add_ons:
if add_ons == "[]": # TODO: This should be a list
click.secho("\nYou have selected no add-ons")
else:
Expand Down

0 comments on commit fc9bca1

Please sign in to comment.