mirror of
https://github.com/Textualize/rich.git
synced 2025-09-14 06:15:23 +00:00
Default binary_units param to False
This commit is contained in:
parent
5ef33ae7bf
commit
781689c3bb
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
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
|
self.binary_units = binary_units
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue