From af4ab1ad8ef0ff0a4ac754718b382b159255b2b2 Mon Sep 17 00:00:00 2001 From: Marc Mance Date: Tue, 30 Jul 2024 18:17:18 -0400 Subject: [PATCH] added flush --- collect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collect.py b/collect.py index eb401ec..b245d85 100644 --- a/collect.py +++ b/collect.py @@ -184,9 +184,9 @@ def collect_data(minutes): for i in range(minutes): if i == 0: - print("Minute:", end="") + print("Minute:", end="", flush=True) - print(f" {i}", end="") + print(f" {i}", end="", flush=True) zpoolIostat() ifstat()