Permalink
Browse files

Fixed '\r' at end of serialno in Windows XP

- Reported and fix suggested by Diogo Bilkes
  • Loading branch information...
1 parent 21e02bd commit 797f7075d1fba01730434bc1581818ac94e02890 @dtmilano committed Mar 30, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 AndroidViewClient/src/com/dtmilano/android/viewclient.py
@@ -1016,6 +1016,7 @@ def __obtainAdbPath():
@staticmethod
def __mapSerialNo(serialno):
+ serialno = serialno.strip()
#ipRE = re.compile('^\d+\.\d+.\d+.\d+$')
if IP_RE.match(serialno):
if DEBUG_DEVICE: print >>sys.stderr, "ViewClient: adding default port to serialno", serialno, ADB_DEFAULT_PORT

0 comments on commit 797f707

Please sign in to comment.