From 21a9e39e52b7e2cce20e3764e34d939308e3c7c2 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 3 Dec 2023 21:06:44 -0800 Subject: [PATCH] Use hms_letters format for commandline output. --- voussoirkit/kbps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/kbps.py b/voussoirkit/kbps.py index 47f14ab..2caf8cc 100644 --- a/voussoirkit/kbps.py +++ b/voussoirkit/kbps.py @@ -40,7 +40,7 @@ def kbps_argparse(args): (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): parser = argparse.ArgumentParser()