fix python dir getting docs dir
This commit is contained in:
parent
94c76d7b55
commit
b86f1c3cbb
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ sys.path.insert(0, os.path.abspath('.'))
|
|||
|
||||
import django
|
||||
|
||||
PYTHON_DIR = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
|
||||
os.environ['USE_CHROME'] = 'False'
|
||||
|
||||
PYTHON_DIR = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..'))
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../'))
|
||||
sys.path.insert(0, os.path.abspath('.'))
|
||||
|
|
Loading…
Reference in a new issue