🐛 Fix wish and pay log PlayerNotFoundError

This commit is contained in:
xtaodada 2023-09-01 10:04:39 +08:00
parent f7e9412125
commit 631dea7700
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659
2 changed files with 2 additions and 8 deletions

View File

@ -13,16 +13,13 @@ from core.services.template.services import TemplateService
from modules.gacha_log.helpers import from_url_get_authkey
from modules.pay_log.error import PayLogNotFound, PayLogAccountNotFound, PayLogInvalidAuthkey, PayLogAuthkeyTimeout
from modules.pay_log.log import PayLog
from plugins.tools.genshin import PlayerNotFoundError
from plugins.tools.player_info import PlayerInfoSystem
from utils.log import logger
INPUT_URL, CONFIRM_DELETE = range(10100, 10102)
class PlayerNotFoundError(Exception):
pass
class PayLogPlugin(Plugin.Conversation):
"""充值记录导入/导出/分析"""

View File

@ -28,6 +28,7 @@ from modules.gacha_log.error import (
)
from modules.gacha_log.helpers import from_url_get_authkey
from modules.gacha_log.log import GachaLog
from plugins.tools.genshin import PlayerNotFoundError
from plugins.tools.player_info import PlayerInfoSystem
from utils.log import logger
@ -40,10 +41,6 @@ except ImportError:
INPUT_URL, INPUT_FILE, CONFIRM_DELETE = range(10100, 10103)
class PlayerNotFoundError(Exception):
pass
class WishLogPlugin(Plugin.Conversation):
"""抽卡记录导入/导出/分析"""