Commit c9f77328 authored by bliss administrator's avatar bliss administrator
Browse files

plugins/utils.py: added unicode check in parse_list

parent 6f7f60f4
......@@ -57,7 +57,7 @@ def _parse_dict(config,item_cfg_node,referenced_objects,
def _parse_list(config,value):
object_list = list()
for node in value:
if isinstance(node,str) and node.startswith("$"):
if isinstance(node,(str,unicode)) and node.startswith("$"):
object_list.append(weakref.proxy(config.get(node)))
elif isinstance(node,dict):
subdict = dict()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment