minor changes
This commit is contained in:
5
main.py
5
main.py
@@ -7,7 +7,7 @@ from flask import Flask, redirect, render_template, request
|
|||||||
from recipe import Recipe, RecipeBook
|
from recipe import Recipe, RecipeBook
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
book = RecipeBook()
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def home():
|
def home():
|
||||||
@@ -57,5 +57,4 @@ def add_recipe():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
book = RecipeBook()
|
app.run(debug=False)
|
||||||
app.run(debug=True)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user