fix plugin

This commit is contained in:
jxxghp
2023-07-27 07:16:22 +08:00
parent fd7aa3b759
commit 7699d4fc1b
2 changed files with 22 additions and 9 deletions

View File

@ -250,6 +250,8 @@ class DoubanSync(_PluginBase):
}
}
]
# 数据按时间降序排序
historys = sorted(historys, key=lambda x: x.get('time'), reverse=True)
# 拼装页面
contents = []
for history in historys: