Skip to content

Commit

Permalink
Update resampy/filters.py
Browse files Browse the repository at this point in the history
fixing package resource locations
  • Loading branch information
bmcfee authored Mar 5, 2024
1 parent 62b1640 commit 0eddd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resampy/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def load_filter(filter_name):
'''

if filter_name not in FILTER_CACHE:
fname = importlib_resources.files(__name__) / 'data' / f'{filter_name}.npz'
fname = importlib_resources.files("resampy") / 'data' / f'{filter_name}.npz'
with importlib_resources.as_file(fname) as f:
data = np.load(f)

Expand Down

0 comments on commit 0eddd89

Please sign in to comment.