Use hms_letters format for commandline output.

This commit is contained in:
voussoir 2023-12-03 21:06:44 -08:00
parent 16d0c0dee3
commit 21a9e39e52

View file

@ -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()