支持自定义选择导出聊天记录的日期
This commit is contained in:
@@ -275,7 +275,7 @@ class HtmlExporter(ExporterBase):
|
||||
)
|
||||
|
||||
def export(self):
|
||||
messages = msg_db.get_messages(self.contact.wxid)
|
||||
messages = msg_db.get_messages(self.contact.wxid, time_range=self.time_range)
|
||||
filename = f"{os.path.abspath('.')}/data/聊天记录/{self.contact.remark}/{self.contact.remark}.html"
|
||||
file_path = './app/resources/data/template.html'
|
||||
if not os.path.exists(file_path):
|
||||
|
||||
Reference in New Issue
Block a user