diff --git a/devlib/utils/android.py b/devlib/utils/android.py index 533835c..6e56c58 100644 --- a/devlib/utils/android.py +++ b/devlib/utils/android.py @@ -210,7 +210,7 @@ class AdbConnection(object): command = 'shell {} {}'.format(self.ls_command, source) output = adb_command(self.device, command, timeout=timeout) for line in output.splitlines(): - command = "pull '{}' '{}'".format(line, dest) + command = "pull '{}' '{}'".format(line.strip(), dest) adb_command(self.device, command, timeout=timeout) return command = "pull '{}' '{}'".format(source, dest)