From 07d80db5aacd1f6cbcf456d5c0ce0b0dbfc890d5 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sun, 2 Jun 2024 19:14:20 -0700 Subject: [PATCH] fix CHROME_USER_DATA_DIR split str error --- archivebox/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/config.py b/archivebox/config.py index 1637023b..ed484d65 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -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)