]> git.cworth.org Git - turbot/blobdiff - turbot.wsgi.in
Initial implement of auto-creation of Google sheets
[turbot] / turbot.wsgi.in
index 5a260bfa3446bf0f5328deaadbe6496fee561f88..5a7c37b375db20d1a40e29615b78ab99f58b53e5 100644 (file)
@@ -1,7 +1,10 @@
 import sys
+import os
 sys.path.insert(0, '${DEPLOY_DIR}')
 
 from dotenv import load_dotenv
-load_dotenv('${DEPLOY_DIR}/.turbot.env')
+load_dotenv('${DEPLOY_DIR}/.slack-creds.env')
+
+os.environ['TURBOT_DEPLOY_DIR']='${DEPLOY_DIR}'
 
 from turbot.turbot import app as application