diff --git a/methods.py b/methods.py index fbcac799612..c3f4bffb618 100644 --- a/methods.py +++ b/methods.py @@ -149,7 +149,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):