签名测试

This commit is contained in:
STDquantum 2024-01-06 13:31:20 +08:00
parent 380c9cc1d0
commit f6ccf45ff0
No known key found for this signature in database
GPG Key ID: 4F49272C35FBF52C

View File

@ -272,7 +272,7 @@ class Msg:
else: else:
contacts[i].append(0) contacts[i].append(0)
contacts.sort(key=lambda cur_contact: cur_contact[-1], reverse=True) contacts.sort(key=lambda cur_contact: cur_contact[-1], reverse=True)
return contacts return contacts[:20]
def get_messages_by_days(self, username_, is_Annual_report_=False, year_='2023'): def get_messages_by_days(self, username_, is_Annual_report_=False, year_='2023'):
if is_Annual_report_: if is_Annual_report_: