Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Fix path join to support different os
  • Loading branch information
timonmerk authored May 30, 2024
1 parent 05ce41e commit 3114f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py_neuromodulation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Linux": "liblsl.so.1.16.2",
"Darwin": "liblsl.1.16.0.dylib",
}
os.environ["MNE_LSL_LIB"] = f"{PYNM_DIR.parent}/liblsl/{LSL_DICT[platform.system()]}"
os.environ["MNE_LSL_LIB"] = os.path.join(PYNM_DIR.parent, liblsl, LSL_DICT[platform.system()])

# Bring Stream and DataProcessor classes to top namespace
from .nm_stream_offline import Stream
Expand Down

0 comments on commit 3114f55

Please sign in to comment.