projects
/
culture.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93880c
)
Update.
author
François Fleuret
<francois@fleuret.org>
Tue, 26 Mar 2024 11:50:39 +0000
(12:50 +0100)
committer
François Fleuret
<francois@fleuret.org>
Tue, 26 Mar 2024 11:50:39 +0000
(12:50 +0100)
escape.py
patch
|
blob
|
history
diff --git
a/escape.py
b/escape.py
index
5f34cd1
..
f7b4cf7
100755
(executable)
--- 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 p
U"[lr + 1] if lr in {-1, 0, 1, 2
} else "?"
return (
sb_a
+ "/"