Fix ldap configuration in /etc/netbox/config/ldap/*.py not loaded
This commit is contained in:
parent
43aea3a1dd
commit
a3c21ae0ac
1 changed files with 7 additions and 0 deletions
|
@ -13,3 +13,10 @@ def __getattr__(name):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
raise AttributeError
|
raise AttributeError
|
||||||
|
|
||||||
|
def __dir__():
|
||||||
|
names = []
|
||||||
|
for config in _loaded_configurations:
|
||||||
|
for name in config.__dir__():
|
||||||
|
names.append(name)
|
||||||
|
return names
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue