Skip to content

Commit 3664af6

Browse files
committed
fix: syntax error
1 parent 65bc333 commit 3664af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def is_readonly(path):
325325
def clear_temp_dicoms(item_dicoms):
326326
"""Ensures DICOM temporary directories are safely cleared"""
327327
try:
328-
tmp = Path(op.commonprefix(item_dicoms).parents[1])
328+
tmp = Path(op.commonprefix(item_dicoms)).parents[1]
329329
except IndexError:
330330
return
331331
if (str(tmp.parent) == tempfile.gettempdir()

0 commit comments

Comments
 (0)