diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index fd44d65..a2ff65f 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1807,7 +1807,8 @@ class Mastodon: | |||
1807 | 1807 | ||
1808 | if run_async: | 1808 | if run_async: |
1809 | handle = __stream_handle(connection, connect_func, reconnect_async, reconnect_async_wait_sec) | 1809 | handle = __stream_handle(connection, connect_func, reconnect_async, reconnect_async_wait_sec) |
1810 | t = threading.Thread(args=(), daemon = True, target=handle._threadproc) | 1810 | t = threading.Thread(args=(), target=handle._threadproc) |
1811 | t.daemon = True | ||
1811 | t.start() | 1812 | t.start() |
1812 | return handle | 1813 | return handle |
1813 | else: | 1814 | else: |