Skip to content

Commit c7c6678

Browse files
Update nibabel/nicom/utils.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 2157139 commit c7c6678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nicom/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def find_private_section(dcm_data, group_no, creator):
3030
Element number at which named section starts.
3131
"""
3232
if hasattr(creator, 'search'):
33-
match_func = lambda x : creator.search(x)
33+
match_func = creator.search
3434
else: # assume string / bytes
3535
creator = asstr(creator)
3636
match_func = lambda x : x == creator

0 commit comments

Comments
 (0)