We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 366af42 commit b656f38Copy full SHA for b656f38
src/kiwixstorage/upload.py
@@ -57,7 +57,7 @@ def do_upload_file(url: str, fpath: pathlib.Path, key: str = None):
57
58
if s3.has_object(key):
59
raise ValueError(f"Key `{key}` already exists at {dest}. Specify another one.")
60
- print(f"Uploading {fpath.name} ({format_size(fsize)}) to {dest}/{key}")
+ print(f"Uploading {fpath.name} ({format_size(fsize)}) to {dest}/{key}", flush=True)
61
62
progress = CustomProgressBar(fsize).callback if progressbar else True
63
s3.upload_file(fpath=fpath, key=key, progress=progress)
0 commit comments