Skip to content

Commit 6b15d05

Browse files
committed
bug fixes
1 parent b93b51b commit 6b15d05

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

browserstack/local.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def start(self, **kwargs):
2626
for key, value in kwargs.iteritems():
2727
self.__add_arg(key, value)
2828

29-
if self.options['binary_path'] is None:
30-
self.binary_path = LocalBinary().get_binary()
31-
else:
29+
if 'binarypath' in self.options:
3230
self.binary_path = binary_path
31+
else:
32+
self.binary_path = LocalBinary().get_binary()
3333

3434
if "onlyCommand" in kwargs and kwargs["onlyCommand"]:
3535
return
@@ -63,7 +63,7 @@ def __add_arg(self, key, value):
6363
self.options['force'] = '-force'
6464
elif key == 'only' and value:
6565
self.options['only'] = '-only'
66-
elif key == 'only_automate' and value:
66+
elif key == 'onlyAutomate' and value:
6767
self.options['only_automate'] = '-onlyAutomate'
6868
elif key == 'forcelocal' and value:
6969
self.options['forcelocal'] = '-forcelocal'

0 commit comments

Comments
 (0)