Skip to content

Commit 8a41145

Browse files
committed
BF: Python 3 compatibility
1 parent 89dabaf commit 8a41145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/streamlines/tractogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def is_data_dict(obj):
1616

1717
def is_lazy_dict(obj):
1818
""" True if `obj` seems to implement the :class:`LazyDict` API """
19-
return is_data_dict(obj) and callable(obj.store.values()[0])
19+
return is_data_dict(obj) and callable(list(obj.store.values())[0])
2020

2121

2222
class SliceableDataDict(collections.MutableMapping):

0 commit comments

Comments
 (0)