turn off parental filter sync for vcpes not on ssid 0
diff --git a/xos/observers/vcpe/steps/sync_vcpetenant.py b/xos/observers/vcpe/steps/sync_vcpetenant.py
index a29ba09..309d866 100644
--- a/xos/observers/vcpe/steps/sync_vcpetenant.py
+++ b/xos/observers/vcpe/steps/sync_vcpetenant.py
@@ -113,8 +113,13 @@
run_template_ssh(self.template_name, fields)
if o.url_filter_enable:
- bbs = BBS(o.bbs_account, "123")
- bbs.sync(o.url_filter_level, o.users)
+ if (str(o.service_specific_id) != "0"):
+ # XXX FIXME
+ # Also fix the spot in cord/models.py
+ logger.info("skipping sync of URL filter for SSID %s" % str(o.service_specific_id))
+ else:
+ bbs = BBS(o.bbs_account, "123")
+ bbs.sync(o.url_filter_level, o.users)
o.save()