Skip to content

Commit e79df64

Browse files
committed
BF: do interpolate the string msg in the exception
I guess it was a mental side effect from using lgr.error initially or smth like that
1 parent c530d29 commit e79df64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def process_extra_commands(outdir, command, files, dicom_dir_template,
108108
from .utils import get_heuristic_description
109109
print(get_heuristic_description(heuristic, full=True))
110110
else:
111-
raise ValueError("Unknown command %s", command)
111+
raise ValueError("Unknown command %s" % command)
112112
return
113113

114114

0 commit comments

Comments
 (0)