mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
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
|
||||
|
||||
# Calculate the path based on the location of the WSGI script.
|
||||
apache_configuration= os.path.dirname(__file__)
|
||||
web_dir = os.path.dirname(apache_configuration)
|
||||
web_dir = os.path.dirname(__file__)
|
||||
workspace = os.path.dirname(os.path.dirname(web_dir))
|
||||
|
||||
sys.path.insert(0, workspace)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue