From a4bf5b1e03ea5089eed9049832bbf4171b7ed5a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Wed, 22 Feb 2023 19:42:32 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20wrong=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/cookies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/genshin/cookies.py b/plugins/genshin/cookies.py index 1f049b7..5eafd3c 100644 --- a/plugins/genshin/cookies.py +++ b/plugins/genshin/cookies.py @@ -296,7 +296,7 @@ class SetUserCookies(Plugin.Conversation, BasePlugin.Conversation): f"服务器名称:`{user_info.server_name}`\n" ) await message.reply_markdown_v2(text, reply_markup=ReplyKeyboardMarkup(reply_keyboard, one_time_keyboard=True)) - add_user_command_data.cookies = auth_client.cookies.to_dict() + add_user_command_data.cookies = cookies.to_dict() return COMMAND_RESULT @conversation.state(state=COMMAND_RESULT)