Move imports

This commit is contained in:
Piero Toffanin 2020-12-20 16:01:24 -05:00
parent f6bd993b38
commit aeb828fd27

View file

@ -1,12 +1,13 @@
from app.init import boot
from flask import Flask, render_template, jsonify, request, abort, send_from_directory from flask import Flask, render_template, jsonify, request, abort, send_from_directory
from app.language import languages
from flask_swagger import swagger from flask_swagger import swagger
from flask_swagger_ui import get_swaggerui_blueprint from flask_swagger_ui import get_swaggerui_blueprint
from flask_limiter.util import get_remote_address from flask_limiter.util import get_remote_address
def create_app(char_limit=-1, req_limit=-1, ga_id=None, debug=False): def create_app(char_limit=-1, req_limit=-1, ga_id=None, debug=False):
from app.init import boot
from app.language import languages
boot() boot()
app = Flask(__name__) app = Flask(__name__)