Skip to content

Commit e374869

Browse files
committed
Fixed condition in seleniumbender script.
1 parent fc4f1fa commit e374869

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/seleniumbender.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,9 @@ def main():
251251
print('Please check the config.cfg.template for the required format')
252252
sys.exit()
253253

254+
os.environ['CODEBENDER_SELENIUM_HUB_URL'] = os.environ['LOCAL_HUB_URL']
254255
if args.saucelabs:
255256
os.environ['CODEBENDER_SELENIUM_HUB_URL'] = os.environ['SAUCELABS_HUB_URL']
256-
else:
257-
os.environ['CODEBENDER_SELENIUM_HUB_URL'] = os.environ['LOCAL_HUB_URL']
258257

259258
capabilities = args.capabilities
260259
if capabilities:

0 commit comments

Comments
 (0)