Skip to content

Commit 89f14b5

Browse files
authored
Merge pull request #55 from browserstack/cast-options-value-to-str
Fix `expected str, bytes or os.PathLike object, not int` - e.g, `httpPort`
2 parents e7642c6 + 0b6a749 commit 89f14b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

browserstack/local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __xstr(self, key, value):
2424
elif str(value).lower() == "false":
2525
return ['']
2626
else:
27-
return ['-' + key, value]
27+
return ['-' + key, str(value)]
2828

2929
def get_package_version(self):
3030
name = "browserstack-local"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
setup(
66
name = 'browserstack-local',
77
packages = ['browserstack'],
8-
version = '1.2.8',
8+
version = '1.2.9',
99
description = 'Python bindings for Browserstack Local',
1010
long_description=open('README.md').read(),
1111
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)