We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96d77eb commit c2df410Copy full SHA for c2df410
appium/webdriver/appium_service.py
@@ -89,7 +89,7 @@ def _get_main_script(self):
89
if not hasattr(self, '_main_script'):
90
for args in [['root', '-g'], ['root']]:
91
try:
92
- modules_root = subprocess.check_output([self._get_npm()] + args).strip()
+ modules_root = subprocess.check_output([self._get_npm()] + args).strip().decode('utf-8')
93
if os.path.exists(os.path.join(modules_root, MAIN_SCRIPT_PATH)):
94
self._main_script = os.path.join(modules_root, MAIN_SCRIPT_PATH)
95
break
0 commit comments