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

fix CHROME_USER_DATA_DIR split str error

This commit is contained in:
Nick Sweeting
2024-06-02 19:14:20 -07:00
parent 925b6d943d
commit 07d80db5aa

View File

@@ -1306,7 +1306,7 @@ def check_system_config(config: ConfigDict=CONFIG) -> None:
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]))
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
# raise SystemExit(2)