From: François Fleuret Date: Tue, 26 Mar 2024 11:50:39 +0000 (+0100) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=8d2a98a349051d45f7e8bf5cf7cb1e69169788ac;p=culture.git Update. --- 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 + "/"