Fix a path issue.
This commit is contained in:
parent
fb4c50b647
commit
9c1dc0a62c
1 changed files with 1 additions and 2 deletions
|
|
@ -1,8 +1,7 @@
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
# Calculate the path based on the location of the WSGI script.
|
# Calculate the path based on the location of the WSGI script.
|
||||||
apache_configuration= os.path.dirname(__file__)
|
web_dir = os.path.dirname(__file__)
|
||||||
web_dir = os.path.dirname(apache_configuration)
|
|
||||||
workspace = os.path.dirname(os.path.dirname(web_dir))
|
workspace = os.path.dirname(os.path.dirname(web_dir))
|
||||||
|
|
||||||
sys.path.insert(0, workspace)
|
sys.path.insert(0, workspace)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue