diff --git a/bin/detect b/bin/detect
index 4fe8dcc4cca21d5b6e4a0cc0376baa6baf5a11ec..b4c999e3fbb54c6e7938f181a84cfe89d210fd27 100755
--- a/bin/detect
+++ b/bin/detect
@@ -58,8 +58,7 @@ IFS_BAK=
 }
 
 
-
-SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'settings.py' | head -1)
+SETTINGS_FILE=$(find $BUILD_DIR/. -maxdepth 2 -type f -name 'settings.py' | head -1)
 
 
 [ -n "$SETTINGS_FILE" ] && ( list_requirements $BUILD_DIR/requirements.txt | grep -Fiq "django" ) && echo Python/Django || echo Python
\ No newline at end of file