拆出服务模块

This commit is contained in:
John Smith
2022-02-15 00:18:46 +08:00
parent 3b556fc265
commit e40f1511ed
12 changed files with 426 additions and 411 deletions

View File

@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-
import configparser
import logging
import os
@@ -66,7 +65,7 @@ class AppConfig:
self._load_app_config(config)
self._load_translator_configs(config)
except Exception:
except Exception: # noqa
logger.exception('Failed to load config:')
return False
return True