From 8d2a98a349051d45f7e8bf5cf7cb1e69169788ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Tue, 26 Mar 2024 12:50:39 +0100 Subject: [PATCH] Update. --- escape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/escape.py b/escape.py index 5f34cd1..f7b4cf7 100755 --- a/escape.py +++ b/escape.py @@ -242,12 +242,12 @@ def episodes2str( def status_bar(a, r, lr=None): a, r = a.item(), r.item() sb_a = "ISNEW"[a] if a >= 0 and a < 5 else "?" - sb_r = "- +U"[r + 1] if r in {-1, 0, 1, 2} else "?" + sb_r = "- +"[r + 1] if r in {-1, 0, 1} else "?" if lr is None: sb_lr = "" else: lr = lr.item() - sb_lr = "n p"[lr + 1] if lr in {-1, 0, 1} else "?" + sb_lr = "n pU"[lr + 1] if lr in {-1, 0, 1, 2} else "?" return ( sb_a + "/" -- 2.39.5