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

Refactor the pat_con function #81

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

Conversation

JosiahWI
Copy link
Contributor

The pat_con function was difficult to read clearly. This uses the pathlib module to make it clear and easy to read, and in addition better at handling exceptions.

JosiahWI and others added 2 commits July 30, 2021 08:06
The pat_con function was difficult to read clearly. This uses the pathlib module to make it clear and easy to read, and in addition better at handling exceptions.
The path argument can now be a string like it used to be and should be. The function will attempt to convert the path.
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