Merge pull request #29 from codebutler/master

Ignore bad utf8 data. Fixes #22.
This commit is contained in:
Jake Wharton
2013-07-15 13:42:35 -07:00
+1 -1
View File
@@ -175,7 +175,7 @@ def parse_death(tag, message):
while adb.poll() is None:
try:
line = adb.stdout.readline().decode('utf-8').strip()
line = adb.stdout.readline().decode('utf-8', 'replace').strip()
except KeyboardInterrupt:
break
if len(line) == 0: