Skip to content

Commit e0a8515

Browse files
committed
Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects
1 parent 6c60a43 commit e0a8515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/extras/models/scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def ordered_scripts(self):
123123
ordered = [
124124
script_objects.pop(sc) for sc in self.module_scripts.keys() if sc in script_objects
125125
]
126-
ordered.extend(script_objects.items())
126+
ordered.extend(script_objects.values())
127127
return ordered
128128

129129
@property

0 commit comments

Comments
 (0)