Fix comments

This commit is contained in:
taizan-hokuto
2019-11-21 20:47:42 +09:00
parent 0e060bf998
commit 24873651a6
2 changed files with 2 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ class ReplayChatAsync:
#pause
await self._pauser.get()
#resume
#prohibit from blockng by putting None into _pauser.
#prohibit from blocking by putting None into _pauser.
self._pauser.put_nowait(None)
livechat_json = (await
self._get_livechat_json(continuation, session, headers)

View File

@@ -165,13 +165,12 @@ class ReplayChat:
#pause
self._pauser.get()
#resume
#prohibit from blockng by putting None into _pauser.
#prohibit from blocking by putting None into _pauser.
self._pauser.put_nowait(None)
livechat_json = (
self._get_livechat_json(continuation, session, headers)
)
metadata, chatdata = self._parser.parse( livechat_json )
#チャットデータを含むコンポーネントを組み立ててbufferに投入する
timeout = metadata['timeoutMs']/1000
chat_component = {
"video_id" : self.video_id,