Skip to content

Commit 23e63ac

Browse files
committed
Switch error at init
1 parent 2b11150 commit 23e63ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/io/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@
281281
# if it is not present, use the neurosharectypesio to load files
282282
try:
283283
import neuroshare as ns
284-
except ImportError as err:
284+
except ModuleNotFoundError as err:
285285
from neo.io.neurosharectypesio import NeurosharectypesIO as NeuroshareIO
286286

287287
# print("\n neuroshare library not found, loading data with ctypes" )

0 commit comments

Comments
 (0)