Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: startfile setting when using ipython #1

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

khasmamad99
Copy link
Contributor

When inside ipython, startfile = os.path.abspath(sys.argv[0]) is /path/to/ipython. Hence, the search for .project_root file fails. This PR fixes it by setting the startfile to the current working directory where ipython is started.

@ashleve ashleve merged commit 2554014 into ashleve:main Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants