From 64d57d682ce1b0e856d1304d69fee9c19a30677c Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Mon, 10 Apr 2023 02:31:09 +0200 Subject: [PATCH] fix order status (corrupted domain) --- src/var/lib/tyto/program/status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/var/lib/tyto/program/status.py b/src/var/lib/tyto/program/status.py index 19a14e7..b552158 100644 --- a/src/var/lib/tyto/program/status.py +++ b/src/var/lib/tyto/program/status.py @@ -38,10 +38,10 @@ import args, dom, logs, tyto, form def domain(): if dom.hole: logs.out("13", '', True) elif not dom.exists: logs.out("10", '', True) + elif dom.corrupt: logs.out("39", dom.shortname, True) print("") - elif dom.corrupt: logs.out("39", dom.shortname, True) - elif dom.incomplete: logs.out("41", dom.shortname, False) + if dom.incomplete: logs.out("41", dom.shortname, False) elif dom.active: logs.out("42", dom.shortname, False) elif not dom.active: logs.out("40", dom.shortname, False)