summaryrefslogtreecommitdiff
path: root/methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'methods.py')
-rw-r--r--methods.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods.py b/methods.py
index 46b58a13cd..dee7939046 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):