1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-09 01:10:14 +01:00
LibreTranslate/app/__init__.py

14 lines
262 B
Python
Raw Normal View History

import os
# override polyglot path
import polyglot
from appdirs import user_data_dir
2021-05-18 05:41:02 +02:00
polyglot.polyglot_path = os.path.join(
user_data_dir(appname="LibreTranslate", appauthor="uav4geo"), "polyglot_data"
)
2021-02-10 17:04:02 +01:00
from .main import main
from .manage import manage