From 0fc3bc1e74753ac22c261a44df51731bb114c9ce Mon Sep 17 00:00:00 2001 From: ken Date: Wed, 19 Jun 2024 14:06:52 -0700 Subject: [PATCH] Add h/m/s denotions to make elapsed more obvious --- Fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fill.py b/Fill.py index e40b965bffc3..384582d2b5a6 100644 --- a/Fill.py +++ b/Fill.py @@ -61,7 +61,7 @@ def log_tty(self, name: str, placed: int, final: bool) -> None: logging.StreamHandler.terminator = '\r' pct: float = round(100 * (placed / self.total_items), 2) - elapsed: str = time.strftime("%H:%M:%S", time.gmtime(round(self.cur_time - self.start_time))) + elapsed: str = time.strftime("%Hh:%Mm:%Ss", time.gmtime(round(self.cur_time - self.start_time))) logging.info(f"Current fill step ({name}) at {placed}/{self.total_items} ({pct}%) items placed [{elapsed} elapsed].") # restore the terminator