Commit 1d6c43a5 authored by Romain Courteaud's avatar Romain Courteaud

object local variable does not exist.

parent d79c4f8f
......@@ -79,11 +79,11 @@ NOTE: for now, this script requires proxy manager\n
\n
category_list = []\n
\n
if object is None:\n
if obj is None:\n
return []\n
\n
for base_category in base_category_list:\n
category_list.append({base_category: [x.getParentValue().getRelativeUrl() for x in object.getValueList(base_category)]})\n
category_list.append({base_category: [x.getParentValue().getRelativeUrl() for x in obj.getValueList(base_category)]})\n
\n
return category_list\n
</string> </value>
......
7
\ No newline at end of file
8
\ No newline at end of file
Markdown is supported
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