From 7502d2c543711170f7331c90e6024b5d981025b8 Mon Sep 17 00:00:00 2001 From: fly Date: Wed, 25 Dec 2019 16:11:41 +0000 Subject: [PATCH] Dedicated status string for poles Signed-off-by: fly --- scripts/wb-progress-logger.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/wb-progress-logger.py b/scripts/wb-progress-logger.py index 287fc4f..1d03612 100755 --- a/scripts/wb-progress-logger.py +++ b/scripts/wb-progress-logger.py @@ -88,7 +88,9 @@ try: if status == "started" or status == "done": if name == "n-pole" or name == "s-pole": - state[name] = status + if not name in state: + state[name] = {} + state[name]["status"] = status else: match = re.match(r"([ew])(\d{3})([ns])(\d{2})", name) if match == None: