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

os.path.join is getting inputs with slashes in some cases #11178

Open
jacobtylerwalls opened this issue Jul 12, 2024 · 0 comments
Open

os.path.join is getting inputs with slashes in some cases #11178

jacobtylerwalls opened this issue Jul 12, 2024 · 0 comments
Labels
Type: Bug Something isn't working

Comments

@jacobtylerwalls
Copy link
Member

In a few places we're providing our own forward slashes to os.path.join(), which will probably break on windows.

in settings:

"STATS_FILE": os.path.join(ROOT_DIR, "..", "webpack/webpack-stats.json"),

in tests:

with open(os.path.join("tests/fixtures/resource_graphs/rdf_export_{0}.json".format(model_name)), "r") as f:

Could use a quick grep to see if there are others.

@jacobtylerwalls jacobtylerwalls added the Type: Bug Something isn't working label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant