From bb187ce43858212a884365c4087e5c445dab45a1 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Sun, 26 Mar 2023 12:35:38 +0200 Subject: [PATCH] indev. domain status #2 --- src/var/lib/tyto/program/dom.py | 1 - src/var/lib/tyto/program/show.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/var/lib/tyto/program/dom.py b/src/var/lib/tyto/program/dom.py index 9aa092d..a3f7c97 100644 --- a/src/var/lib/tyto/program/dom.py +++ b/src/var/lib/tyto/program/dom.py @@ -162,4 +162,3 @@ if not hole: def valid(): if incomplete: sys.exit(41) elif not active: sys.exit(42) - elif not exists: sys.exit(1) diff --git a/src/var/lib/tyto/program/show.py b/src/var/lib/tyto/program/show.py index 3942406..63a0cb8 100644 --- a/src/var/lib/tyto/program/show.py +++ b/src/var/lib/tyto/program/show.py @@ -146,7 +146,6 @@ def read_lines(f): datas = open(f).read() for line in datas.rsplit('\n'): - if not line: print(' │') - else: print(' ├─', line) + print(' │', line) dom.valid()