添加ffmpeg

This commit is contained in:
shuaikangzhou
2023-12-13 20:45:53 +08:00
parent 48830a648c
commit e9d7b1b7c9
5 changed files with 34 additions and 14 deletions

View File

@@ -203,10 +203,16 @@ class Msg:
for dialog in temp:
msg1 = dialog[0]
msg2 = dialog[1]
res.append((
(msg1[4], msg1[5], msg1[7].split(keyword), msg1[8]),
(msg2[4], msg2[5], msg2[7], msg2[8])
))
try:
res.append((
(msg1[4], msg1[5], msg1[7].split(keyword), msg1[8]),
(msg2[4], msg2[5], msg2[7], msg2[8])
))
except TypeError:
res.append((
('', '', ['', ''], ''),
('', '', '', '')
))
return res
def get_messages_by_days(self, username_, is_Annual_report_=False, year_='2023'):