Sort scripts loading order
This commit is contained in:
parent
66fed8ffb8
commit
e9919f2ab7
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ def load_scripts(basedir):
|
|||
if not os.path.exists(basedir):
|
||||
return
|
||||
|
||||
for filename in os.listdir(basedir):
|
||||
for filename in sorted(os.listdir(basedir)):
|
||||
print(f"Loading script: {filename}")
|
||||
path = os.path.join(basedir, filename)
|
||||
|
||||
if not os.path.isfile(path):
|
||||
|
|
Loading…
Reference in a new issue