From a668b0b741c8053934b159ba1d7419ac4f4fd0f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 22 Jun 2016 14:15:22 +0200 Subject: blendfile: fixed dna_type can't be indexed error --- io_blend_utils/blend/blendfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io_blend_utils') diff --git a/io_blend_utils/blend/blendfile.py b/io_blend_utils/blend/blendfile.py index e14d3831..154943bf 100644 --- a/io_blend_utils/blend/blendfile.py +++ b/io_blend_utils/blend/blendfile.py @@ -795,8 +795,8 @@ class DNAStruct: else: return DNA_IO.write_bytes(handle, value, dna_name.array_size) else: - raise NotImplementedError("Setting %r is not yet supported" % - dna_type[0], dna_name, dna_type) + raise NotImplementedError("Setting %r is not yet supported for %r" % + (dna_type, dna_name), dna_name, dna_type) class DNA_IO: -- cgit v1.2.3