only show data locations in version output when in a data dir

This commit is contained in:
Nick Sweeting 2020-08-13 23:21:57 -04:00
parent a0901ba474
commit 0ef2b17678
2 changed files with 7 additions and 7 deletions

View file

@ -100,8 +100,7 @@ CONFIG_DEFAULTS: Dict[str, ConfigDefaultDict] = {
'CHROME_USER_DATA_DIR': {'type': str, 'default': None},
'CHROME_HEADLESS': {'type': bool, 'default': True},
'CHROME_SANDBOX': {'type': bool, 'default': True},
'CHROME_SANDBOX': {'type': bool, 'default': lambda c: not c['IN_DOCKER']},
},
'DEPENDENCY_CONFIG': {