LibreTranslate/app/__init__.py
2021-05-18 09:11:02 +05:30

13 lines
262 B
Python

import os
from appdirs import user_data_dir
# override polyglot path
import polyglot
polyglot.polyglot_path = os.path.join(
user_data_dir(appname="LibreTranslate", appauthor="uav4geo"), "polyglot_data"
)
from .main import main
from .manage import manage