Skip to content

Commit

Permalink
Fix logging error
Browse files Browse the repository at this point in the history
  • Loading branch information
yosufali authored and oz123 committed Sep 18, 2024
1 parent 13d051b commit 6bb1a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipenv/utils/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def abort(msg=""):
err.print(f"[red]{msg}[/red]")
err.print("You can specify specific versions of Python with:")
err.print(
f"[yellow]$ pipenv --python {os.sep.join('path', 'to', 'python')}[/yellow]"
f"[yellow]$ pipenv --python {os.sep.join(['path', 'to', 'python'])}[/yellow]"
)
sys.exit(1)

Expand Down

1 comment on commit 6bb1a26

@chrislytras
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Funny, sys.exit(1) following immediately after makes this bug a bit inconsequential if you think about it.

Please sign in to comment.