From 22860f5185fb31c4de6f71342ce32e4cf7342a54 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 29 Dec 2020 01:34:32 -0600 Subject: [PATCH] Simplify Stream.disconnect --- tweepy/streaming.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 0651c1f..8e4aaf4 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -407,6 +407,4 @@ class Stream: self._start(is_async) def disconnect(self): - if self.running is False: - return self.running = False -- 2.25.1