diff --git a/lib/pyes_enabled.py b/lib/pyes_enabled.py index 87ab1a68..6a764a70 100644 --- a/lib/pyes_enabled.py +++ b/lib/pyes_enabled.py @@ -3,6 +3,8 @@ import os global pyes_on pyes_off = os.environ.get('DSL') +# We're gonna short circuit and turn off pyes +pyes_off = 'True' if pyes_off == 'True': pyes_on = False print "\nUsing Elasticsearch DSL\n"