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: Use Path.as_posix() and f-strinigs to build correct URLs on Windows #107

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

mfschmidt
Copy link
Contributor

Replace backslashes with forward slashes in all paths. This should create correct https urls from broken windows paths, and should not affect paths from other systems.

templateflow/api.py Outdated Show resolved Hide resolved
templateflow/api.py Outdated Show resolved Hide resolved
@effigies effigies changed the title build correct url from windows paths FIX: Use Path.as_posix() and f-strinigs to build correct URLs on Windows Oct 12, 2023
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
templateflow/api.py 82.56% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@effigies effigies merged commit 188a245 into templateflow:master Oct 12, 2023
13 checks passed
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