Skip to content

Commit 167be65

Browse files
authored
Apply suggestions from code review
1 parent e5e249f commit 167be65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/openers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class Opener:
154154

155155
fobj: io.IOBase
156156

157-
def __init__(self, fileish: str | io.IOBase, *args, compression: str | None, **kwargs):
157+
def __init__(self, fileish: str | io.IOBase, *args, compression: str | None = None, **kwargs):
158158
if isinstance(fileish, (io.IOBase, Fileish)):
159159
self.fobj = fileish
160160
self.me_opened = False

0 commit comments

Comments
 (0)