mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-12-26 19:35:37 +00:00
🐛 Fix AttributeError in stats allow_mutation
This commit is contained in:
parent
936456335b
commit
c9b58c5acc
@ -101,7 +101,6 @@ class AchievementPlugins(Plugin):
|
||||
# TODO: 并发下载所有资源
|
||||
|
||||
for item in data.list:
|
||||
item.__config__.allow_mutation = True
|
||||
if icon := await self._download_resource(item.icon):
|
||||
item.icon = icon
|
||||
|
||||
|
@ -123,7 +123,6 @@ class PlayerStatsPlugins(Plugin):
|
||||
|
||||
# 探索地区
|
||||
for item in data.explorations:
|
||||
item.__config__.allow_mutation = True
|
||||
item.icon = await self._download_resource(item.icon)
|
||||
item.cover = await self._download_resource(item.cover)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user