Remove unnecessary line
This commit is contained in:
@@ -43,12 +43,11 @@ class HTMLArchiver(ChatProcessor):
|
|||||||
'''
|
'''
|
||||||
HTMLArchiver saves chat data as HTML table format.
|
HTMLArchiver saves chat data as HTML table format.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
def __init__(self, save_path):
|
def __init__(self, save_path):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.save_path = self._checkpath(save_path)
|
self.save_path = self._checkpath(save_path)
|
||||||
self.processor = DefaultProcessor()
|
self.processor = DefaultProcessor()
|
||||||
self.emoji_table = {}
|
self.emoji_table = {} # table for custom emojis. key: emoji_id, value: base64 encoded image binary.
|
||||||
self.header = [HEADER_HTML]
|
self.header = [HEADER_HTML]
|
||||||
self.body = ['<body>\n', '<table class="css">\n', self._parse_table_header(fmt_headers)]
|
self.body = ['<body>\n', '<table class="css">\n', self._parse_table_header(fmt_headers)]
|
||||||
|
|
||||||
@@ -81,7 +80,6 @@ class HTMLArchiver(ChatProcessor):
|
|||||||
"""
|
"""
|
||||||
if chat_components is None or len(chat_components) == 0:
|
if chat_components is None or len(chat_components) == 0:
|
||||||
return
|
return
|
||||||
# chats = self.processor.process(chat_components).items
|
|
||||||
self.body.extend(
|
self.body.extend(
|
||||||
(self._parse_html_line((
|
(self._parse_html_line((
|
||||||
c.datetime,
|
c.datetime,
|
||||||
|
|||||||
Reference in New Issue
Block a user