summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rwxr-xr-xmethods.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 74c282b8cf..e29fd760ba 100755
--- a/methods.py
+++ b/methods.py
@@ -1213,7 +1213,9 @@ def detect_modules():
register_cpp=""
unregister_cpp=""
- for x in glob.glob("modules/*"):
+ files = glob.glob("modules/*")
+ files.sort() #so register_module_types does not change that often, and also plugins are registered in alphabetic order
+ for x in files:
if (not os.path.isdir(x)):
continue
x=x.replace("modules/","") # rest of world