diff --git a/bin/warnings b/bin/warnings index eb106b7a9d606bcc57b605f3bca48ddc2a018fce..64648538784727670405a836b7a44462ee5d9d17 100755 --- a/bin/warnings +++ b/bin/warnings @@ -1,7 +1,7 @@ shopt -s extglob old-platform() { - if grep -qi 'SNIMissingWarning' "$WARNINGS_LOG"; then + if grep -qi 'InsecurePlatformWarning' "$WARNINGS_LOG"; then puts-warn "Hello! It looks like your application is using an outdated version of Python." puts-warn "This caused the security warning you saw above during the 'pip install' step." puts-warn "We recommend '$DEFAULT_PYTHON_VERSION', which you can specify in a 'runtime.txt' file."