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

normalize paths in match_location #222

Merged
merged 1 commit into from
May 25, 2013
Merged

normalize paths in match_location #222

merged 1 commit into from
May 25, 2013

Conversation

tomyam1
Copy link
Contributor

@tomyam1 tomyam1 commented May 25, 2013

This solves issue 219 for me.

The problem in match_location(self, name, path, prefix) is that while name comes from the settings and is written with forward slashes, path comes from the static files finder and could be written with backward slashes (on Windows for example).

We need to normalize them before we can compare them textually.

@cyberdelia
Copy link
Member

Thanks!

cyberdelia added a commit that referenced this pull request May 25, 2013
normalize paths in match_location
@cyberdelia cyberdelia merged commit c847fb1 into jazzband:master May 25, 2013
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