X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=turbot.wsgi.in;h=71349343c71778c30ebc54a6ab9042a8a65c2c74;hb=4bca55ecc12eb56357e5a5279fece0adced30430;hp=e59427915ae1032d0b6af36973343e17cfeeed5f;hpb=73db7d877be08977accdf41cbbf8ef95347304c4;p=turbot diff --git a/turbot.wsgi.in b/turbot.wsgi.in index e594279..7134934 100644 --- a/turbot.wsgi.in +++ b/turbot.wsgi.in @@ -1,7 +1,10 @@ import sys +import os sys.path.insert(0, '${DEPLOY_DIR}') from dotenv import load_dotenv load_dotenv('${DEPLOY_DIR}/.slack-creds.env') -from turbot.turbot import app as application +os.environ['TURBOT_DEPLOY_DIR']='${DEPLOY_DIR}' + +from turbot_flask.turbot import app as application