From 6ec294bcf1ee6d802ddc5ce158a14d218d86ac67 Mon Sep 17 00:00:00 2001 From: Jan-Pieter Baert Date: Mon, 21 Jan 2019 18:15:13 +0100 Subject: [PATCH] forgot to update create_database and typo fix --- app/database/create_database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/database/create_database.py b/app/database/create_database.py index 5c3033e..63bb04b 100644 --- a/app/database/create_database.py +++ b/app/database/create_database.py @@ -1,8 +1,8 @@ from app import db -import add_oceans_garden, add_admins, add_simpizza +import add_oceans_garden, add_admins, add_simpizza, add_primadonna -entry_sets = {"Admins": add_admins.add, "Ocean's Garden": add_oceans_garden.add, "SimPizza": add_simpizza.add} +entry_sets = {"Admins": add_admins.add, "Ocean's Garden": add_oceans_garden.add, "SimPizza": add_simpizza.add, "Primadonna": add_primadonna.add} yes = ["yes", "y", "Y"] no = ["no", "n", "N"] @@ -41,7 +41,7 @@ def add_to_current(): return " ".join(["{}({}), ".format(loc, i) for i, loc in enumerate(available)]).rstrip(", ") while input("Do you still want to add something? (Y/n) ") not in no: - print("What do you want to add? (Use numbers, or A for all, or C for chancel) ") + print("What do you want to add? (Use numbers, or A for all, or C for cancel) ") answer = input("Available: {} : ".format(add_numbers())) if answer == "A": add_all()