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

Verify paths provided are strings. #27

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Verify paths provided are strings. #27

merged 2 commits into from
Jun 17, 2024

Conversation

Jdogzz
Copy link
Contributor

@Jdogzz Jdogzz commented Jun 17, 2024

Fixes a couple of entry points into the library to make sure the path provided is a string in case the provided path is a Pathlib object.

Adds conversion of path to string.
Add another check to make sure path is a string.
@MicheleCotrufo
Copy link
Owner

Thanks! I will merge these, and then do a further edit to the comments to clarify that now target can be either a string or a pathlib object

@MicheleCotrufo MicheleCotrufo merged commit e9ac1b3 into MicheleCotrufo:master Jun 17, 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