removed unused code, added to-do comment
This commit is contained in:
parent
f977c2f3c9
commit
63a468046e
14
app.py
14
app.py
@ -39,17 +39,11 @@ def serve_monster_sprite(selected_monster):
|
|||||||
def serve_favicon():
|
def serve_favicon():
|
||||||
return send_from_directory( '','static/img/favicon.ico')
|
return send_from_directory( '','static/img/favicon.ico')
|
||||||
|
|
||||||
#API Calls
|
#TO-DO: Split the rest of these API Calls
|
||||||
from src.api.get_families import get_families_bp
|
|
||||||
app.register_blueprint(get_families_bp)
|
|
||||||
|
|
||||||
# List All Families
|
#API Calls
|
||||||
#@app.route("/api/families")
|
from src.api.get_families import *
|
||||||
#def get_families():
|
app.register_blueprint(get_families_bp)
|
||||||
# cursor = g.db.cursor()
|
|
||||||
# cursor.execute("SELECT DISTINCT name FROM families")
|
|
||||||
# families = [row[0] for row in cursor.fetchall()]
|
|
||||||
# return jsonify(families)
|
|
||||||
|
|
||||||
# List All Monsters
|
# List All Monsters
|
||||||
@app.route("/api/monsters")
|
@app.route("/api/monsters")
|
||||||
|
Loading…
Reference in New Issue
Block a user