Fix modules being loaded in the wrong order on some OSes (thanks umib)
This commit is contained in:
parent
a96d2b57c9
commit
73f9adacd4
|
@ -70,7 +70,7 @@ def readFile(file,decode = "utf-8"):
|
|||
def main():
|
||||
print("Running modules...")
|
||||
for root,dirs,files in os.walk(p(omlPath,"modules")):
|
||||
for file in files:
|
||||
for file in sorted(files):
|
||||
sfile = file.rsplit(".",1)
|
||||
if len(sfile) < 2: continue
|
||||
if sfile[1] != "modlist": continue
|
||||
|
|
Loading…
Reference in New Issue