Unverified Commit 5c98de27 by Rémi Verschelde Committed by GitHub

Merge pull request #39066 from Xrayez/is-module-yes

Do not rely on the existence of `config.py` while detecting modules
parents c10dab13 12389b37
......@@ -155,7 +155,7 @@ def detect_modules(at_path):
def is_module(path):
return os.path.isdir(path) and os.path.exists(path + "/config.py")
return os.path.isdir(path) and os.path.exists(os.path.join(path, "SCsub"))
def write_modules(module_list):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment