From 2b8c41b58965cef37cbb1a41dddfddbeede550a5 Mon Sep 17 00:00:00 2001 From: Anthony Shaw Date: Tue, 17 May 2022 14:26:10 +1000 Subject: [PATCH] Correct the output time --- suite.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/suite.py b/suite.py index 32d01e7..a6774ed 100644 --- a/suite.py +++ b/suite.py @@ -22,9 +22,9 @@ def format_delta(a: float, b: float, d: float) -> Text: col = "spring_green2" else: col = "green1" - return Text(f"{b:.3f} ({d:.1f}%)", style=col) + return Text(f"{a:.3f} ({d:.1f}%)", style=col) else: - return Text(f"{b:.3f} (-{d:.1f}%)", style="red") + return Text(f"{a:.3f} (-{d:.1f}%)", style="red") if __name__ == "__main__":