Delete json_display_processor

This commit is contained in:
taizan-hokuto
2020-01-18 13:02:43 +09:00
parent efdf07e3de
commit f8fa0e394e

View File

@@ -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])