浏览代码

Update 'wsgi.py'

Added hooks_path variable from config.
deadtom 1 周之前
父节点
当前提交
2b9e090d18
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      wsgi.py

+ 2 - 1
wsgi.py

@@ -1,5 +1,6 @@
 import sys
+import config
 
-sys.path.insert(0, "~/owncasthooks")
+sys.path.insert(0, config.hooks_path)
 
 from hooks import app as application