mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
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
|
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('../'))
|
||||||
sys.path.insert(0, os.path.abspath('.'))
|
sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue