From 99af7acddfbb42e80e64977315d6ee599520ec6a Mon Sep 17 00:00:00 2001 From: Vladimir Oltean Date: Fri, 13 Feb 2026 23:04:15 +0200 Subject: [PATCH] pw_poller: print "Sleep" and amount of seconds on the same line Maybe to others it is obvious that these two lines are related: ** Sleep 119.694849 But to me it wasn't. New format: ** Sleep 119.694849 seconds Signed-off-by: Vladimir Oltean --- pw_poller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pw_poller.py b/pw_poller.py index 6226b1a..f964f9c 100755 --- a/pw_poller.py +++ b/pw_poller.py @@ -300,7 +300,7 @@ def run(self, life) -> None: secs = 120 - (datetime.datetime.now() - req_time).total_seconds() if secs > 0: - log("Sleep", secs) + log(f"Sleep {secs} seconds") log_end_sec() except KeyboardInterrupt: pass # finally will still run, but don't splat