feat: __init__.py

This commit is contained in:
RTAkland
2021-12-15 21:46:09 +08:00
parent cfc75d5c13
commit ce30d6ef75
3 changed files with 14 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ Check the configuration file
import sys
from ruamel.yaml import YAML
from core.logger import Logger
from core.language import Language
with open('./config.yml', 'r') as f:
@@ -28,4 +29,4 @@ for request in settings['request-settings'].values():
for other in settings['client-settings'].values():
if not other:
Logger.critical('client-settings 有未填写项目')
sys.exit(1)
sys.exit(1)

6
core/language.py Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env python3
# -- coding:utf-8 --
# @Author: markushammered@gmail.com
# @Development Tool: PyCharm
# @Create Time: 2021/12/15
# @File Name: language.py

6
tes.py Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env python3
# -- coding:utf-8 --
# @Author: markushammered@gmail.com
# @Development Tool: PyCharm
# @Create Time: 2021/12/15
# @File Name: tes.py