diff options
-rw-r--r-- | mastodon/streaming.py | 1 |
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() |