Alphabetically sort node files before import.

This commit is contained in:
Adam Wong
2023-11-17 13:48:35 -05:00
parent 11a77f20b5
commit a74ce48245
+1
View File
@@ -18,6 +18,7 @@ dir = os.path.dirname(__file__)
dir = os.path.join(dir, "nodes")
dir = os.path.abspath(dir)
files = glob.glob(os.path.join(dir, "*.py"), recursive=False)
files = sorted(files)
for file in files:
# Import the module associated with the file.