mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-23 12:43:10 +00:00
fix: CHROME_USER_DATA_DIR was causing an error after the update to posix paths
This commit is contained in:
parent
5faadee7d1
commit
81dd626b85
1 changed files with 1 additions and 1 deletions
|
@ -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(' Make sure you set it to a Chrome user data directory containing a Default profile folder.')
|
||||||
stderr(' For more info see:')
|
stderr(' For more info see:')
|
||||||
stderr(' https://github.com/pirate/ArchiveBox/wiki/Configuration#CHROME_USER_DATA_DIR')
|
stderr(' https://github.com/pirate/ArchiveBox/wiki/Configuration#CHROME_USER_DATA_DIR')
|
||||||
if 'Default' in config['CHROME_USER_DATA_DIR']:
|
if 'Default' in str(config['CHROME_USER_DATA_DIR']):
|
||||||
stderr()
|
stderr()
|
||||||
stderr(' Try removing /Default from the end e.g.:')
|
stderr(' Try removing /Default from the end e.g.:')
|
||||||
stderr(' CHROME_USER_DATA_DIR="{}"'.format(config['CHROME_USER_DATA_DIR'].split('/Default')[0]))
|
stderr(' CHROME_USER_DATA_DIR="{}"'.format(config['CHROME_USER_DATA_DIR'].split('/Default')[0]))
|
||||||
|
|
Loading…
Reference in a new issue