Skip to content

Commit

Permalink
use cli to set chrome_path
Browse files Browse the repository at this point in the history
  • Loading branch information
shawwwn committed Mar 8, 2019
1 parent ce75c24 commit 0ff3b04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions scylla/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def main(args) -> int:
help='Disable the forward proxy server')
parser.add_argument('--proxy-port', '-pp', type=int, default=8081,
help='The port number for the forward proxy')
parser.add_argument('--chrome_path', '-cp', type=str, default=None,
help='path of chrome/chromium to be used to render js')

parsed_args = parser.parse_args(args)

Expand Down
5 changes: 1 addition & 4 deletions scylla/config.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
from typing import Union

_config_data = {
'validation_pool': 2,
'chrome_path': '/usr/bin/chromium',
}
_config_data = {}


def _config_data_instance():
Expand Down

0 comments on commit 0ff3b04

Please sign in to comment.