mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-24 17:01:00 +00:00
Switch import
This commit is contained in:
parent
aeb828fd27
commit
938809a0ae
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@ 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.init import boot
|
||||||
from app.language import languages
|
|
||||||
|
|
||||||
boot()
|
boot()
|
||||||
|
|
||||||
|
from app.language import languages
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
if debug:
|
if debug:
|
||||||
|
|
Loading…
Reference in a new issue