From 59744782a586ef00dd72f9ca410ce4c6333151d0 Mon Sep 17 00:00:00 2001 From: fengchuan <1299693999@qq.com> Date: Tue, 14 Oct 2025 04:29:31 +0800 Subject: [PATCH] Update __init__.py some platform timestamp is a float number, but this argument required int --- ppadb/sync_async/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppadb/sync_async/__init__.py b/ppadb/sync_async/__init__.py index 4f65540..7ceff64 100644 --- a/ppadb/sync_async/__init__.py +++ b/ppadb/sync_async/__init__.py @@ -63,7 +63,7 @@ async def push(self, src, dest, mode, progress=None): progress(src, total_size, sent_size) # DONE - await self._send_length(Protocol.DONE, timestamp) + await self._send_length(Protocol.DONE, int(timestamp)) await self.connection._check_status() async def pull(self, src, dest):