Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2016-06-22 15:15:22 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-06-23 02:11:59 +0300
commita668b0b741c8053934b159ba1d7419ac4f4fd0f7 (patch)
treea80625cd217d31186e3a88c9e6cde252ed71133b
parent5b03267edc97da04eb66cc2b652d8334460f81b2 (diff)
blendfile: fixed dna_type can't be indexed error
-rw-r--r--io_blend_utils/blend/blendfile.py4
1 files changed, 2 insertions, 2 deletions
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: