1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge branch 'develop' into develop-2.8

This commit is contained in:
Jeremy Stretch
2020-03-10 15:06:37 -04:00
156 changed files with 1561 additions and 1674 deletions

View File

@@ -451,7 +451,8 @@ def get_scripts(use_names=False):
module_scripts = OrderedDict()
for name, cls in inspect.getmembers(module, is_script):
module_scripts[name] = cls
scripts[module_name] = module_scripts
if module_scripts:
scripts[module_name] = module_scripts
return scripts