Remove the long extra confirmation
If people fuck it up it would be on their local system, only the sysadmin can fuck up the real haldis
This commit is contained in:
parent
0daea7d270
commit
b837ec8b5b
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ def add_all() -> None:
|
|||
|
||||
def recreate_from_scratch() -> None:
|
||||
confirmation = "Are you very very sure? (Will delete previous entries!) (y/N) "
|
||||
check = "I acknowledge any repercussions!"
|
||||
if input(confirmation).lower() in yes and input("Type: '{}' ".format(check)).lower() == check:
|
||||
if input(confirmation) in yes:
|
||||
print("Resetting the database!")
|
||||
db.drop_all()
|
||||
db.create_all()
|
||||
|
|
Loading…
Reference in a new issue