mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
🐛 Fix wish and pay log PlayerNotFoundError
This commit is contained in:
parent
f7e9412125
commit
631dea7700
@ -13,16 +13,13 @@ from core.services.template.services import TemplateService
|
|||||||
from modules.gacha_log.helpers import from_url_get_authkey
|
from modules.gacha_log.helpers import from_url_get_authkey
|
||||||
from modules.pay_log.error import PayLogNotFound, PayLogAccountNotFound, PayLogInvalidAuthkey, PayLogAuthkeyTimeout
|
from modules.pay_log.error import PayLogNotFound, PayLogAccountNotFound, PayLogInvalidAuthkey, PayLogAuthkeyTimeout
|
||||||
from modules.pay_log.log import PayLog
|
from modules.pay_log.log import PayLog
|
||||||
|
from plugins.tools.genshin import PlayerNotFoundError
|
||||||
from plugins.tools.player_info import PlayerInfoSystem
|
from plugins.tools.player_info import PlayerInfoSystem
|
||||||
from utils.log import logger
|
from utils.log import logger
|
||||||
|
|
||||||
INPUT_URL, CONFIRM_DELETE = range(10100, 10102)
|
INPUT_URL, CONFIRM_DELETE = range(10100, 10102)
|
||||||
|
|
||||||
|
|
||||||
class PlayerNotFoundError(Exception):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class PayLogPlugin(Plugin.Conversation):
|
class PayLogPlugin(Plugin.Conversation):
|
||||||
"""充值记录导入/导出/分析"""
|
"""充值记录导入/导出/分析"""
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ from modules.gacha_log.error import (
|
|||||||
)
|
)
|
||||||
from modules.gacha_log.helpers import from_url_get_authkey
|
from modules.gacha_log.helpers import from_url_get_authkey
|
||||||
from modules.gacha_log.log import GachaLog
|
from modules.gacha_log.log import GachaLog
|
||||||
|
from plugins.tools.genshin import PlayerNotFoundError
|
||||||
from plugins.tools.player_info import PlayerInfoSystem
|
from plugins.tools.player_info import PlayerInfoSystem
|
||||||
from utils.log import logger
|
from utils.log import logger
|
||||||
|
|
||||||
@ -40,10 +41,6 @@ except ImportError:
|
|||||||
INPUT_URL, INPUT_FILE, CONFIRM_DELETE = range(10100, 10103)
|
INPUT_URL, INPUT_FILE, CONFIRM_DELETE = range(10100, 10103)
|
||||||
|
|
||||||
|
|
||||||
class PlayerNotFoundError(Exception):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class WishLogPlugin(Plugin.Conversation):
|
class WishLogPlugin(Plugin.Conversation):
|
||||||
"""抽卡记录导入/导出/分析"""
|
"""抽卡记录导入/导出/分析"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user