Skip to content

Commit

Permalink
Fixed the issue that cannot interpret the list metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
shiroyuki committed Sep 17, 2016
1 parent 13d1fd6 commit 42f7da0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions imagination/helper/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ def _cast(self, actual_data, actual_kind):
for item in actual_data.sequence():
collection.append(self.cast(item))

if kind != 'list':
collection = eval(kind)(collection)
if actual_kind != 'list':
collection = eval(actual_kind)(collection)

return collection

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name = 'imagination',
version = '2.1.0',
version = '2.1.1',
description = 'Reusable Component Framework',
author = 'Juti Noppornpitak',
author_email = 'juti_n@yahoo.co.jp',
Expand Down

0 comments on commit 42f7da0

Please sign in to comment.