Skip to content

Commit 55a65d1

Browse files
committed
bug fix on execlude_filenames
1 parent 7e19155 commit 55a65d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/neuralynxrawio/neuralynxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def __init__(
152152
if exclude_filenames is None:
153153
exclude_filenames = set()
154154
elif not isinstance(exclude_filenames, (list, set, np.ndarray)):
155-
exclude_filenames = set([exclude_filenames])
155+
exclude_filenames = {exclude_filenames}
156156

157157
if include_filenames:
158158
include_filepath = {os.path.dirname(f) for f in include_filenames}

0 commit comments

Comments
 (0)