Skip to content

Commit b861634

Browse files
committed
Use better pythonic code
1 parent d4ef07e commit b861634

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

neo/rawio/alphaomegarawio.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,8 @@ class AlphaOmegaRawIO(BaseRawIO):
121121
("Internal Detection", "Internal Detection", "Internal Detection"),
122122
)
123123

124-
def __init__(self, dirname, prune_channels=True):
125-
# super().__init__(self)
126-
BaseRawIO.__init__(self)
124+
def __init__(self, dirname="", prune_channels=True):
125+
super().__init__(dirname=dirname)
127126
self.dirname = Path(dirname)
128127
self._filenames = {}
129128
if self.dirname.is_dir():

0 commit comments

Comments
 (0)