diff --git a/methods.py b/methods.py index 46b58a13cde..dee79390464 100644 --- a/methods.py +++ b/methods.py @@ -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):