Commit b1cd47d6 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm_monitoring: Fix missing variable.

parent d617e93e
......@@ -58,7 +58,7 @@ friend_category_uid = portal.restrictedTraverse(\n
"portal_categories/allocation_scope/open/friend", None).getUid()\n
\n
\n
if category_uid is not None:\n
if None not in [friend_category_uid, public_category_uid]:\n
portal.portal_catalog.searchAndActivate(\n
portal_type = \'Computer\',\n
validation_state = \'validated\',\n
......
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