Skip to content

Commit 5a32f3a

Browse files
committed
Fix incorrect timestamp type in asynchronous push
The incorrect timestamp type caused all asynchronous pushes to fail.
1 parent b136202 commit 5a32f3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ppadb/sync_async/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _get_src_info(src):
2020
if not exists:
2121
return exists, None, None
2222

23-
timestamp = os.stat(src).st_mtime
23+
timestamp = int(os.stat(src).st_mtime)
2424
total_size = os.path.getsize(src)
2525

2626
return exists, timestamp, total_size

0 commit comments

Comments
 (0)