fix on domain status (unused)

This commit is contained in:
Cyrille L 2023-04-10 02:28:35 +02:00
parent 405cdde94d
commit 6803a49938
2 changed files with 3 additions and 3 deletions

View File

@ -128,6 +128,7 @@ create_files = \
'footer_about_f'
)
wip_html_mods = ()
err_val = (()) # Make a list from values error
file_unu = (()) # Make a list for files to check
file_mod = (()) # male a list for modules files to create
@ -203,7 +204,6 @@ if not hole:
#==============================================#
# When an active and complete domain is needed #
#----------------------------------------------#
wip_html_mods = ()
if exists and not incomplete and not corrupt:
wip_html_mods = \
(
@ -268,5 +268,4 @@ if not hole:
#------------------------------------#
def valid():
if incomplete: sys.exit(41)
#elif corrupt: sys.exit(41)
elif not active: sys.exit(42)

View File

@ -35,8 +35,9 @@
import args, dom, logs, tyto, form
print("")
def domain():
if not dom.exists: logs.out("10", '', True)
print("")
if dom.hole: logs.out("13", '', True)
elif dom.corrupt: logs.out("39", dom.shortname, True)
elif dom.incomplete: logs.out("41", dom.shortname, False)