减少依赖

This commit is contained in:
2023-02-12 16:14:09 +08:00
parent 3a63b25dfd
commit 431a40650a
4 changed files with 19 additions and 13 deletions

View File

@ -5,7 +5,6 @@
Copyright © 2023 all the developers of LinglunStudio
"""
from utils.io import logger, requests
DEFAULTLANGUAGE = "ZH-CN"
@ -86,8 +85,11 @@ languages = {
}
}
# 这个函数是不被加载的
def passbt():
from utils.io import logger, requests
def __loadLanguage(languageFilename: str):
with open(languageFilename, "r", encoding="utf-8") as languageFile:
_text = {}