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 952f091 commit 43d08e5Copy full SHA for 43d08e5
1 file changed
python_package/brainflow/data_filter.py
@@ -167,7 +167,8 @@ def __init__(self):
167
# for python 3.8 PATH env var doesnt work anymore
168
try:
169
os.add_dll_directory(dir_path)
170
- except:
+ except (AttributeError, OSError):
171
+ # Best-effort: continue and rely on PATH fallback below.
172
pass
173
if platform.system() == 'Windows':
174
os.environ['PATH'] = dir_path + os.pathsep + os.environ.get('PATH', '')
0 commit comments