mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-18 04:11:57 +02:00
fix CHROME_USER_DATA_DIR split str error
This commit is contained in:
@@ -1306,7 +1306,7 @@ def check_system_config(config: ConfigDict=CONFIG) -> None:
|
|||||||
if '/Default' in str(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(str(config['CHROME_USER_DATA_DIR']).split('/Default')[0]))
|
||||||
|
|
||||||
# hard error is too annoying here, instead just set it to nothing
|
# hard error is too annoying here, instead just set it to nothing
|
||||||
# raise SystemExit(2)
|
# raise SystemExit(2)
|
||||||
|
Reference in New Issue
Block a user