Fix Drive mtime and btime (#299)

* Update drive.py

fix timestamp about api.drive.upload()

* Update pyicloud/services/drive.py

Co-authored-by: Quentame <polletquentin74@me.com>
This commit is contained in:
RobotSe7en 2020-09-25 19:58:39 +08:00 committed by GitHub
parent 4075c41ecc
commit 29bb3678c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,8 +113,8 @@ class DriveService(object):
"is_executable": False,
"is_hidden": False,
},
"mtime": int(time.time()),
"btime": int(time.time()),
"mtime": int(time.time() * 1000),
"btime": int(time.time() * 1000),
}
# Add the receipt if we have one. Will be absent for 0-sized files