Use str key because ListStore return str in common.selection for issue251

This commit is contained in:
Cédric Krier committed 2008-08-13 20:49:55 +02:00
1 parent 518e73c908
commit 80b000ebf7
1 file changed
+2
+2
View File
@@ -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