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

[Bugfix] Fixed URL joins for Windows machines #22

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

moleculekayak
Copy link
Owner

No description provided.

@zakkarry
Copy link
Contributor

zakkarry commented Oct 3, 2024

Any reason not to use PathLib and urlparse here?

@moleculekayak
Copy link
Owner Author

What's the syntax for using urlparse to join URI host/path parts?

@zakkarry
Copy link
Contributor

zakkarry commented Oct 3, 2024

I mean, you would just join the strings, but I guess the sep is what is causing you the issues? For that I suppose you would need to use urljoin.

If that's the only concern then I suppose you're right, my mistake.

@zakkarry
Copy link
Contributor

zakkarry commented Oct 3, 2024

Otherwise you'd need to use a posixpath module, but this seems more concise anyway.

@moleculekayak moleculekayak merged commit 24479d0 into master Oct 3, 2024
1 check passed
@moleculekayak moleculekayak deleted the mk/fix-path-joining-error branch October 3, 2024 17:10
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