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) ")