We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d106a25 commit 6025c2aCopy full SHA for 6025c2a
audioread/__init__.py
@@ -69,8 +69,7 @@ def available_backends(flush_cache=False):
69
If the parameter `flush_cache` is set to `True`, then the cache
70
will be flushed and the backend list will be reconstructed.
71
"""
72
- global BACKENDS
73
- if flush:
+ if flush_cache:
74
BACKENDS.clear()
75
76
if BACKENDS:
0 commit comments