Merge pull request #354 from comphilip/release

Fix ldap configuration in /etc/netbox/config/ldap/*.py not loaded
This commit is contained in:
Christian Mäder 2020-10-27 16:11:55 +01:00 committed by GitHub
commit 80bfd98000
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -13,3 +13,9 @@ def __getattr__(name):
except:
pass
raise AttributeError
def __dir__():
names = []
for config in _loaded_configurations:
names.extend(config.__dir__())
return names