mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-25 12:14:32 -04:00
Update config.py
This commit is contained in:
parent
ab72a2dad1
commit
6bec1709f6
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ TEMPLATES_DIR = os.path.join(PYTHON_PATH, 'templates')
|
|||
CHROME_SANDBOX = os.getenv('CHROME_SANDBOX', 'True').lower() == 'true'
|
||||
USE_CHROME = FETCH_PDF or FETCH_SCREENSHOT or FETCH_DOM
|
||||
USE_WGET = FETCH_WGET or FETCH_WGET_REQUISITES or FETCH_WARC
|
||||
WGET_AUTO_COMPRESSION = not run([WGET_BINARY, "--compression=auto", "--help"], stdout=DEVNULL).returncode
|
||||
WGET_AUTO_COMPRESSION = USE_WGET and WGET_BINARY and (not run([WGET_BINARY, "--compression=auto", "--help"], stdout=DEVNULL).returncode)
|
||||
|
||||
########################### Environment & Dependencies #########################
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue