diff --git a/roboflow/core/version.py b/roboflow/core/version.py index 069ffd35..c0b9da52 100644 --- a/roboflow/core/version.py +++ b/roboflow/core/version.py @@ -818,11 +818,8 @@ def __download_zip(self, link, location, format): def bar_progress(current, total, width=80): progress_message = ( - "Downloading Dataset Version Zip in " - + location - + " to " - + format - + ": %d%% [%d / %d] bytes" % (current / total * 100, current, total) + f"Downloading Dataset Version Zip in {location} to {format}: " + f"{current / total * 100:.0f}% [{current} / {total}] bytes" ) sys.stdout.write("\r" + progress_message) sys.stdout.flush()