From 47fcc23c4b198615e3b3121a80f1489ecfe4f595 Mon Sep 17 00:00:00 2001 From: 0ceanSlim Date: Thu, 15 Feb 2024 10:46:33 -0500 Subject: [PATCH] reorganized imports --- app.py | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/app.py b/app.py index c0d274d..7c7438c 100644 --- a/app.py +++ b/app.py @@ -1,11 +1,11 @@ from flask import Flask, render_template, g, abort, request, jsonify +from src.util.utils import * + from src.api.get_monsters import * from src.api.get_families import * from src.api.get_monster_stats import * -from src.util.utils import * - from src.views.serve_content import * app = Flask(__name__) @@ -14,15 +14,18 @@ app = Flask(__name__) app.before_request(before_request) app.teardown_request(teardown_request) -# Register Serve Content Blueprints -app.register_blueprint(serve_favicon_bp) -app.register_blueprint(serve_monster_sprite_bp) - # Register API Blueprints app.register_blueprint(get_families_bp) app.register_blueprint(get_monsters_bp) app.register_blueprint(get_monster_stats_bp) +# Register Serve Content Blueprints +app.register_blueprint(serve_favicon_bp) +app.register_blueprint(serve_monster_sprite_bp) + +# Register Other Views Blurprints (HTML Render Templates) + + @app.route("/") def show_app(): js_files = get_js_files()