1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-29 17:19:53 +02:00

fix python dir getting docs dir

This commit is contained in:
Nick Sweeting
2019-04-27 21:13:56 -04:00
parent 94c76d7b55
commit b86f1c3cbb

View File

@@ -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('.'))