From 997617abe69fd232e891c6f0c8d07878c54f1369 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 May 2025 23:35:35 +0200 Subject: [PATCH] forgot to remove this line --- scripts/lantern.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lantern.py b/scripts/lantern.py index a31acc2..65f1cde 100644 --- a/scripts/lantern.py +++ b/scripts/lantern.py @@ -1321,6 +1321,10 @@ Maintenance: # ask the category while((IsCategoryValid(category) != True) or (category == 'Tor Hidden Service')): category = input("What is the website Category? (ex: Indexes) ") + + desc='DEFAULT' + while(IsDescriptionValid(desc) is not True): + desc=input("Description for the website ? (cannot be empty) ") # ask the sensitivity choice=input("Is the website sensitive ? (ex: related to drugs) (y/n) ") if choice == "n": @@ -1346,7 +1350,6 @@ Maintenance: while(IsNameValid(name) is not True): name = input("What is the name of the website? ") # ask the category - print('CATEGORY = ', category) while((IsCategoryValid(category) != True) or (category == 'Tor Hidden Service')): category = input("What is the website Category? (ex: Indexes) ") choice=input("Is the website sensitive ? (ex: related to drugs) (y/n) ")