mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-09-24 22:48:33 -04:00
Split extra chrome args on whitespace
This is in case multiple args are used.
This commit is contained in:
parent
62cb051f93
commit
3bc2f434ef
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class Chrome:
|
||||||
|
|
||||||
extra_chrome_args = os.environ.get('BROZZLER_EXTRA_CHROME_ARGS')
|
extra_chrome_args = os.environ.get('BROZZLER_EXTRA_CHROME_ARGS')
|
||||||
if extra_chrome_args:
|
if extra_chrome_args:
|
||||||
chrome_args.append(extra_chrome_args)
|
chrome_args.extend(extra_chrome_args.split())
|
||||||
if disk_cache_dir:
|
if disk_cache_dir:
|
||||||
chrome_args.append('--disk-cache-dir=%s' % disk_cache_dir)
|
chrome_args.append('--disk-cache-dir=%s' % disk_cache_dir)
|
||||||
if disk_cache_size:
|
if disk_cache_size:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue