Update announcement.py

This commit is contained in:
HibiKier
2021-07-16 18:11:58 +08:00
committed by GitHub
parent 75cd702799
commit b3edd20ff5
+1
View File
@@ -230,6 +230,7 @@ class PrettyAnnouncement:
return await res.text(), title[:-2]
async def update_up_char(self):
pretty_up_char.parent.mkdir(exist_ok=True, parents=True)
data = {
'char': {'up_char': {'3': {}, '2': {}, '1': {}}, 'title': '', 'time': '', 'pool_img': ''},
'card': {'up_char': {'3': {}, '2': {}, '1': {}}, 'title': '', 'time': '', 'pool_img': ''}