Fix termination of fetching chat data

This commit is contained in:
taizan-hokuto
2019-12-30 17:10:34 +09:00
parent 7af92f14c0
commit ce96d94e23
7 changed files with 38 additions and 36 deletions

View File

@@ -59,7 +59,7 @@ class Parser:
if metadata is None:
unknown = list(cont.keys())[0]
if unknown:
logger.error(f"Received unknown continuation type:{unknown}")
logger.debug(f"Received unknown continuation type:{unknown}")
metadata = cont.get(unknown)
metadata.setdefault('timeoutMs', 10000)
chatdata = contents['liveChatContinuation'].get('actions')