This commit is contained in:
taizan-hokouto
2020-12-05 14:43:56 +09:00
parent 865e4b5fab
commit 2c8a883ee3

View File

@@ -86,7 +86,7 @@ class HTMLArchiver(ChatProcessor):
Count of total lines written to the file.
"""
if chat_components is None or len(chat_components) == 0:
return self.save_path ,self.counter
return self.save_path, self.counter
for c in self.processor.process(chat_components).items:
self.tmp_fp.write(
self._parse_html_line((