From 5dfd883fc953fd6dd863ab04f9ab91264770d7f8 Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sun, 12 Jul 2020 23:47:02 +0900 Subject: [PATCH] Remove unnecessary line --- pytchat/processors/html_archiver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pytchat/processors/html_archiver.py b/pytchat/processors/html_archiver.py index dba8d22..037b464 100644 --- a/pytchat/processors/html_archiver.py +++ b/pytchat/processors/html_archiver.py @@ -43,12 +43,11 @@ class HTMLArchiver(ChatProcessor): ''' HTMLArchiver saves chat data as HTML table format. ''' - def __init__(self, save_path): super().__init__() self.save_path = self._checkpath(save_path) 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.body = ['\n', '\n', self._parse_table_header(fmt_headers)] @@ -81,7 +80,6 @@ class HTMLArchiver(ChatProcessor): """ if chat_components is None or len(chat_components) == 0: return - # chats = self.processor.process(chat_components).items self.body.extend( (self._parse_html_line(( c.datetime,