Skip to content

Commit

Permalink
fix cluster linux version
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmerk committed Oct 31, 2024
1 parent 6622071 commit 0ae315e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion py_neuromodulation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
if "VERSION_CODENAME" in platform.freedesktop_os_release().keys():
DIST = platform.freedesktop_os_release()["VERSION_CODENAME"]
KEY = PLATFORM + "_" + DIST + "_" + ARCH
if KEY not in LSL_DICT:
else:
KEY = PLATFORM + "_" + ARCH
case _:
KEY = ""
Expand Down
6 changes: 5 additions & 1 deletion py_neuromodulation/stream/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
from .generator import RawDataGenerator
from .mnelsl_player import LSLOfflinePlayer
from .mnelsl_stream import LSLStream

try:
from .mnelsl_stream import LSLStream
except RuntimeError as e:
print(f"A RuntimeError occurred: {e}")

0 comments on commit 0ae315e

Please sign in to comment.