From f8fa0e394ece95d0dc08e750f3a5e9b925a8a92f Mon Sep 17 00:00:00 2001 From: taizan-hokuto <55448286+taizan-hokuto@users.noreply.github.com> Date: Sat, 18 Jan 2020 13:02:43 +0900 Subject: [PATCH] Delete json_display_processor --- pytchat/processors/json_display_processor.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 pytchat/processors/json_display_processor.py diff --git a/pytchat/processors/json_display_processor.py b/pytchat/processors/json_display_processor.py deleted file mode 100644 index ba8e442..0000000 --- a/pytchat/processors/json_display_processor.py +++ /dev/null @@ -1,13 +0,0 @@ -import json -from .chat_processor import ChatProcessor - -class JsonDisplayProcessor(ChatProcessor): - - def process(self,chat_components: list): - if chat_components: - for component in chat_components: - chatdata = component.get('chatdata') - if chatdata: - for chat in chatdata: - print(json.dumps(chat,ensure_ascii=False)[:200]) -