From 781689c3bb9a90a4ef4095b2edab38bcda7586b7 Mon Sep 17 00:00:00 2001 From: amartya-dev Date: Wed, 14 Oct 2020 19:50:12 +0530 Subject: [PATCH] Default binary_units param to False --- rich/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/progress.py b/rich/progress.py index 8b414781..a0c3f2c5 100644 --- a/rich/progress.py +++ b/rich/progress.py @@ -297,7 +297,7 @@ class DownloadColumn(ProgressColumn): binary_units (bool, optional): Flag to render filesize in decimal format, disable to render in binary. Defaults to True. """ - def __init__(self, binary_units: bool = True) -> None: + def __init__(self, binary_units: bool = False) -> None: self.binary_units = binary_units super().__init__()