Skip to content

Commit

Permalink
fix ipython and ptpython prompt bracket content is removed for unknown
Browse files Browse the repository at this point in the history
reasons
  • Loading branch information
devkral committed Oct 15, 2024
1 parent 07af034 commit 21a50b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edgy/cli/operations/shell/ipython.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run_ipython() -> None:
start_ipython(argv=ipython_arguments, user_ns=imported_objects) # type: ignore

except (ModuleNotFoundError, ImportError):
error = "You must have IPython installed to run this. Run `pip install edgy[ipython]`"
error = "You must have IPython installed to run this. Run `pip install ipython`"
printer.write_error(error)
sys.exit(1)

Expand Down
2 changes: 1 addition & 1 deletion edgy/cli/operations/shell/ptpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run_ptpython() -> None:
)

except (ModuleNotFoundError, ImportError):
error = "You must have IPython installed to run this. Run `pip install edgy[ipython]`"
error = "You must have ptpython installed to run this. Run `pip install ptpython"
printer.write_error(error)
sys.exit(1)

Expand Down

0 comments on commit 21a50b9

Please sign in to comment.