Use hms_letters format for commandline output.
This commit is contained in:
parent
16d0c0dee3
commit
21a9e39e52
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def kbps_argparse(args):
|
||||||
|
|
||||||
(time, size, kibs) = kbps(time=time, size=size, kbps=kibs)
|
(time, size, kibs) = kbps(time=time, size=size, kbps=kibs)
|
||||||
|
|
||||||
print(f'{hms.seconds_to_hms(time)} @ {kibs} kbps = {bytestring.bytestring(size)}')
|
print(f'{hms.seconds_to_hms_letters(time)} @ {round(kibs, 4)} kbps = {bytestring.bytestring(size)}')
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
Loading…
Reference in a new issue