aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-01-29 12:28:44 +0100
committerLorenz Diener <[email protected]>2018-01-29 12:28:44 +0100
commit216a4447b4eb3cc25b65f40b8d395b0587e9c6c0 (patch)
tree66b9866e388b395d880255aea9affb39f022c1f1 /mastodon
parent791439d96b28d5dd1b9d20d2921bd93ff02521fa (diff)
downloadmastodon.py-216a4447b4eb3cc25b65f40b8d395b0587e9c6c0.tar.gz
Fixed event not being cleared after dispatch
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/streaming.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mastodon/streaming.py b/mastodon/streaming.py
index 16b5375..d55ad54 100644
--- a/mastodon/streaming.py
+++ b/mastodon/streaming.py
@@ -55,6 +55,7 @@ class StreamListener(object):
55 ) 55 )
56 if line == '': 56 if line == '':
57 self._dispatch(event) 57 self._dispatch(event)
58 event = {}
58 else: 59 else:
59 event = self._parse_line(line, event) 60 event = self._parse_line(line, event)
60 line_buffer = bytearray() 61 line_buffer = bytearray()
Powered by cgit v1.2.3 (git 2.41.0)