diff --git a/src/var/lib/tyto/program/logs.py b/src/var/lib/tyto/program/logs.py index c7229de..d4eaff5 100644 --- a/src/var/lib/tyto/program/logs.py +++ b/src/var/lib/tyto/program/logs.py @@ -80,6 +80,7 @@ def out(nbr, value, out): msg = logs[nbr] print(msg) - if int(nbr) == 21: nbr = 0 + out_0 = (21, 28) + if int(nbr) in out_0: nbr = 0 if out: sys.exit(int(nbr))