mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
Update 020_tenant_groups.py
This commit is contained in:
parent
cec327fb7e
commit
51a5842086
|
|
@ -1,9 +1,9 @@
|
|||
import sys
|
||||
|
||||
from tenancy.models import TenantGroup
|
||||
from startup_script_utils import load_yaml
|
||||
from tenancy.models import TenantGroup
|
||||
|
||||
tenant_groups = load_yaml('/opt/netbox/initializers/tenant_groups.yml')
|
||||
tenant_groups = load_yaml("/opt/netbox/initializers/tenant_groups.yml")
|
||||
|
||||
if tenant_groups is None:
|
||||
sys.exit()
|
||||
|
|
|
|||
Loading…
Reference in a new issue