File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
from browserstack .bserrors import BrowserStackLocalError
4
4
5
5
class Local :
6
- def __init__ (self , key = os . environ [ 'BROWSERSTACK_ACCESS_KEY' ] , binary_path = None ):
7
- self .key = key
6
+ def __init__ (self , key = None , binary_path = None ):
7
+ self .key = os . environ [ 'BROWSERSTACK_ACCESS_KEY' ] if 'BROWSERSTACK_ACCESS_KEY' in os . environ else key
8
8
self .options = None
9
9
self .local_logfile_path = os .path .join (os .getcwd (), 'local.log' )
10
10
Original file line number Diff line number Diff line change 2
2
setup (
3
3
name = 'browserstack-local' ,
4
4
packages = ['browserstack' ],
5
- version = '1.0 .0' ,
5
+ version = '1.1 .0' ,
6
6
description = 'Python bindings for Browserstack Local' ,
7
7
author = 'BrowserStack' ,
8
8
author_email = 'support@browserstack.com' ,
You can’t perform that action at this time.
0 commit comments