diff --git a/bin/steps/python b/bin/steps/python
index 7c8e5c4c94f58d7ddae37c1c2a4fa8d3eeb524c0..10975570a777bda0bc576df7d9f45aafadfa52b8 100755
--- a/bin/steps/python
+++ b/bin/steps/python
@@ -4,7 +4,7 @@ set +e
 runtime-fixer runtime.txt
 PYTHON_VERSION=$(cat runtime.txt)
 
-if [[ $PYTHON_VERSION == "python-2*" ]]; then
+if [[ $PYTHON_VERSION =~ ^python-2 ]]; then
   if [[ "$PYTHON_VERSION" != "$LATEST_2" ]]; then
     puts-warn "The latest version of Python 2 is $LATEST_2. We recommend upgrading by specifying this version in a runtime.txt file."
     echo "    Learn More: https://devcenter.heroku.com/articles/python-runtimes"