Skip to content

Commit

Permalink
adb-sync: convert bytes to string in log line
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolalamacchia committed Mar 14, 2021
1 parent fb7c549 commit 0b5ccda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adb-sync
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,8 @@ class FileSyncer(object):
for name, s in self.src_only[i]:
src_name = self.src[i] + name
dst_name = self.dst[i] + name
logging.info('%s: %r', self.push[i], dst_name)
logging.info('%s: %r', self.push[i],
dst_name.decode('utf-8', 'replace'))
if stat.S_ISDIR(s.st_mode):
if not self.dry_run:
self.dst_fs[i].makedirs(dst_name)
Expand Down

0 comments on commit 0b5ccda

Please sign in to comment.