Use str key because ListStore return str in common.selection for issue251
This commit is contained in:
1 parent
518e73c908
commit
80b000ebf7
1 file changed
+2
@@ -21,6 +21,8 @@ def execute(datas, parent):
|
||||
for module in MODULES:
|
||||
try:
|
||||
for name, func in module.get_plugins(datas['model']):
|
||||
# Use str as key to use in the ListStore of common.selection
|
||||
name = name.encode('utf-8')
|
||||
result[name] = func
|
||||
except Exception, exception:
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user