🐛 Fix incorrect initialize function declared in BirthdayPlugin

This commit is contained in:
洛水居室 2023-03-14 12:20:54 +08:00
parent 7805a2879e
commit 56cf315747
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -48,7 +48,7 @@ class BirthdayPlugin(Plugin):
self.cookie_service = cookie_service self.cookie_service = cookie_service
self.helper = helper self.helper = helper
async def __async_init__(self): async def initialize(self):
self.birthday_list = await Calendar.async_gen_birthday_list() self.birthday_list = await Calendar.async_gen_birthday_list()
self.birthday_list.get("6_1", []).append("派蒙") self.birthday_list.get("6_1", []).append("派蒙")