Skip to content

Commit 788f069

Browse files
vladimirolteankuba-moo
authored andcommitted
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 <vladimir.oltean@nxp.com>
1 parent 2db3e6f commit 788f069

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pw_poller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def run(self, life) -> None:
300300

301301
secs = 120 - (datetime.datetime.now() - req_time).total_seconds()
302302
if secs > 0:
303-
log("Sleep", secs)
303+
log(f"Sleep {secs} seconds")
304304
log_end_sec()
305305
except KeyboardInterrupt:
306306
pass # finally will still run, but don't splat

0 commit comments

Comments
 (0)