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

make CHROME_USER_DATA_DIR error quieter

This commit is contained in:
Nick Sweeting
2024-05-11 22:16:10 -07:00
parent 102e87578c
commit c7f55fc3ba

View File

@@ -1299,7 +1299,10 @@ def check_system_config(config: ConfigDict=CONFIG) -> None:
stderr()
stderr(' Try removing /Default from the end e.g.:')
stderr(' CHROME_USER_DATA_DIR="{}"'.format(config['CHROME_USER_DATA_DIR'].split('/Default')[0]))
raise SystemExit(2)
# hard error is too annoying here, instead just set it to nothing
# raise SystemExit(2)
config['CHROME_USER_DATA_DIR'] = None
def check_dependencies(config: ConfigDict=CONFIG, show_help: bool=True) -> None: