[odrs-web/oscp] Use ODRS_HOME as the path wsgi should follow to import the app directory
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Use ODRS_HOME as the path wsgi should follow to import the app directory
- Date: Tue, 13 Nov 2018 11:38:58 +0000 (UTC)
commit 987d50b2ce512cf28123cbb1412405d00096799f
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 12:38:41 2018 +0100
Use ODRS_HOME as the path wsgi should follow to import the app directory
app_data/wsgi-scripts/odrs.wsgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app_data/wsgi-scripts/odrs.wsgi b/app_data/wsgi-scripts/odrs.wsgi
index b261dd0..e1ede3f 100644
--- a/app_data/wsgi-scripts/odrs.wsgi
+++ b/app_data/wsgi-scripts/odrs.wsgi
@@ -7,7 +7,7 @@
import sys
import os
-sys.path.insert(0, os.environ['HOME'])
+sys.path.insert(0, os.environ['ODRS_HOME'])
def application(environ, start_response):
for key in ['MYSQL_DB_HOST',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]