Skip to content

Commit

Permalink
Update kedro/templates/project/{{ cookiecutter.repo_name }}/src/{{ co…
Browse files Browse the repository at this point in the history
…okiecutter.python_package }}/__main__.py

Co-authored-by: Nok Lam Chan <[email protected]>
Signed-off-by: Ivan Danov <[email protected]>
  • Loading branch information
idanov and noklam committed Nov 6, 2023
1 parent 47080c8 commit 7fd34f0
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,9 @@ def main(*args, **kwargs):
package_name = Path(__file__).parent.name
configure_project(package_name)
run = _find_run_command(package_name)

if kwargs is None:
kwargs = {}
interactive = not hasattr(sys, 'ps1')
kwargs = {**kwargs, **dict(standalone_mode=not interactive)}

kwargs["standalone_mode"] = not interactive
run(*args, **kwargs)


Expand Down

0 comments on commit 7fd34f0

Please sign in to comment.