diff --git a/adb-sync b/adb-sync index c08db4a..9c5692a 100755 --- a/adb-sync +++ b/adb-sync @@ -640,7 +640,7 @@ def FixPath(src: bytes, dst: bytes) -> Tuple[bytes, bytes]: if pos >= 0: if src.endswith(b'/'): # Final slash: copy to the destination "as is". - src = src[:-1] + pass else: # No final slash: destination name == source name. append = src[pos:]