diff --git a/netbox/extras/models/scripts.py b/netbox/extras/models/scripts.py index 9cf2c2f9a..91732f8f0 100644 --- a/netbox/extras/models/scripts.py +++ b/netbox/extras/models/scripts.py @@ -123,7 +123,7 @@ class ScriptModule(PythonModuleMixin, JobsMixin, ManagedFile): ordered = [ script_objects.pop(sc) for sc in self.module_scripts.keys() if sc in script_objects ] - ordered.extend(script_objects.items()) + ordered.extend(script_objects.values()) return ordered @property