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

self.path shouldn't be None #167

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fkloft
Copy link

@fkloft fkloft commented Apr 17, 2023

As mentioned in issue #166, self.path shouldn't be None. This removes the default value of None and removes the check for None. os.path.abspath will remove any trailing slash (except for the directory root /).
This should be backwards compatible, since previously os.path.abspath(None) would've raised an exception.

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.

None yet

1 participant