Skip to content

Commit e2892bb

Browse files
jond01effigies
andauthored
Update nibabel/arrayproxy.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent fdfe1cd commit e2892bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/arrayproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def _should_keep_file_open(self, file_like, keep_file_open):
255255
if keep_file_open is None:
256256
keep_file_open = KEEP_FILE_OPEN_DEFAULT
257257
if keep_file_open not in (True, False):
258-
raise ValueError(f"nibabel.arrayproxy.KEEP_FILE_OPEN_DEFAULT "
258+
raise ValueError("nibabel.arrayproxy.KEEP_FILE_OPEN_DEFAULT "
259259
f"must be boolean. Found: {keep_file_open}")
260260
elif keep_file_open not in (True, False):
261261
raise ValueError('keep_file_open must be one of {None, True, False}')

0 commit comments

Comments
 (0)