Update settings.py

This commit is contained in:
Flo 2021-11-24 08:16:55 +01:00 committed by GitHub
parent ed737e22ee
commit 6e2e4ff6c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ NETBOX_TOKEN = os.getenv("NETBOX_TOKEN")
IGNORE_SSL_ERRORS = (os.getenv("IGNORE_SSL_ERRORS", "False") == "True")
# optionnally load vendors through a space separated list as env var
VENDORS = os.getenv("VENDORS", "").split()
VENDORS = os.getenv("VENDORS", "").split(",")
# optionally load device types through a space separated list as env var
SLUGS = os.getenv("SLUGS", "").split()