Fixed event not being cleared after dispatch
This commit is contained in:
pare
791439d96b
commit
216a4447b4
S'han modificat 1 arxius amb 1 adicions i 0 eliminacions
|
@ -55,6 +55,7 @@ class StreamListener(object):
|
||||||
)
|
)
|
||||||
if line == '':
|
if line == '':
|
||||||
self._dispatch(event)
|
self._dispatch(event)
|
||||||
|
event = {}
|
||||||
else:
|
else:
|
||||||
event = self._parse_line(line, event)
|
event = self._parse_line(line, event)
|
||||||
line_buffer = bytearray()
|
line_buffer = bytearray()
|
||||||
|
|
Loading…
Referencia en una nova incidència