1
0
Fork 0
mirror of synced 2024-06-26 10:00:19 +12: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
No known key found for this signature in database

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: