Skip to content

Commit 18d3c32

Browse files
committed
Supports Python2.6
1 parent 075f5e7 commit 18d3c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/streamlines/trk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def decode_value_from_name(encoded_name):
202202
value = int(splits[1]) # Decode value.
203203
elif len(splits) > 2:
204204
# The remaining bytes are not \x00, raising.
205-
msg = ("Wrong scalar_name or property_name: '{}'."
205+
msg = ("Wrong scalar_name or property_name: '{0}'."
206206
" Unused characters should be \\x00.").format(encoded_name)
207207
raise HeaderError(msg)
208208

0 commit comments

Comments
 (0)