]> git.cworth.org Git - turbot/blobdiff - turbot.wsgi.in
Initial implement of auto-creation of Google sheets
[turbot] / turbot.wsgi.in
index e59427915ae1032d0b6af36973343e17cfeeed5f..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}/.slack-creds.env')
 
+os.environ['TURBOT_DEPLOY_DIR']='${DEPLOY_DIR}'
+
 from turbot.turbot import app as application