1
0
Fork 0
mirror of synced 2024-06-18 18:34:51 +12:00

Update archivebox/config/__init__.py

This commit is contained in:
Nick Sweeting 2020-10-29 13:46:03 -04:00 committed by GitHub
parent 81dd626b85
commit 1e5fbf4bd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -868,7 +868,7 @@ def check_system_config(config: ConfigDict=CONFIG) -> None:
stderr(' Make sure you set it to a Chrome user data directory containing a Default profile folder.')
stderr(' For more info see:')
stderr(' https://github.com/pirate/ArchiveBox/wiki/Configuration#CHROME_USER_DATA_DIR')
if 'Default' in str(config['CHROME_USER_DATA_DIR']):
if '/Default' in str(config['CHROME_USER_DATA_DIR']):
stderr()
stderr(' Try removing /Default from the end e.g.:')
stderr(' CHROME_USER_DATA_DIR="{}"'.format(config['CHROME_USER_DATA_DIR'].split('/Default')[0]))