mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Merge branch 'master' of https://github.com/mitmproxy/release
This commit is contained in:
commit
c07e4be678
3
rtool.py
3
rtool.py
@ -369,9 +369,8 @@ def upload_snapshot(host, port, user, private_key, private_key_password, sdist,
|
||||
print("Removing {}...".format(f))
|
||||
sftp.remove(f)
|
||||
|
||||
|
||||
print("Uploading {} as {}...".format(f, remote_filename))
|
||||
with click.progressbar(length=os.stat(local_path).st_size) as bar:
|
||||
print("Uploading {} as {}...".format(f, remote_filename))
|
||||
sftp.put(
|
||||
local_path,
|
||||
"." + remote_filename,
|
||||
|
Loading…
Reference in New Issue
Block a user