mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-27 18:31:00 +00:00
Move imports
This commit is contained in:
parent
f6bd993b38
commit
aeb828fd27
1 changed files with 3 additions and 2 deletions
|
@ -1,12 +1,13 @@
|
|||
from app.init import boot
|
||||
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_ui import get_swaggerui_blueprint
|
||||
from flask_limiter.util import get_remote_address
|
||||
|
||||
|
||||
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()
|
||||
app = Flask(__name__)
|
||||
|
||||
|
|
Loading…
Reference in a new issue