Skip to content

Commit 4ff0a3e

Browse files
committed
make neurosharectypesio.py pathlib robust
1 parent 71752c4 commit 4ff0a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/io/neurosharectypesio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def __init__(self, filename='', dllname=''):
119119
"""
120120
BaseIO.__init__(self)
121121
self.dllname = dllname
122-
self.filename = filename
122+
self.filename = str(filename)
123123

124124
def read_segment(self, import_neuroshare_segment=True,
125125
lazy=False):

0 commit comments

Comments
 (0)