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

Setting a custom index path using a string causes problems when reading index #277

Open
shawnboltz opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shawnboltz
Copy link
Collaborator

Another easy fix. Workaround is to pass a Path object as the custom index path, not a str

Description
If you specify a custom index path for a WaveBank (presumably also EventBank) as a str, it gets attached to the bank as a str. This becomes a problem when reading the index because internally the bank is assuming a Path and treating it like a Path object.

Expected behavior
When a str gets passed, it should internally get converted to a Path object before being attached to the bank.

Versions (please complete the following information):
Affects all versions since commit 74897cc.

@shawnboltz shawnboltz added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant