Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed check for ADB executable on MS Windows

- Version 2.3.14
  • Loading branch information...
commit 66f812e623cfdff380625536ed3ca7cc296535d5 1 parent 25df509
@dtmilano authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 AndroidViewClient/src/com/dtmilano/android/viewclient.py
View
4 AndroidViewClient/src/com/dtmilano/android/viewclient.py
@@ -17,7 +17,7 @@
@author: diego
'''
-__version__ = '2.3.13'
+__version__ = '2.3.14'
import sys
import subprocess
@@ -1053,7 +1053,7 @@ def __obtainAdbPath():
for path in os.environ["PATH"].split(os.pathsep):
exeFile = os.path.join(path, adb)
- if exeFile != None and (isWindows or os.access(exeFile, os.X_OK)):
+ if exeFile != None and os.access(exeFile, os.X_OK if not isWindows else os.F_OK)):
return exeFile
raise Exception('adb="%s" is not executable. Did you forget to set ANDROID_HOME in the environment?' % adb)
Please sign in to comment.
Something went wrong with that request. Please try again.