From: Harmon Date: Tue, 29 Dec 2020 07:34:32 +0000 (-0600) Subject: Simplify Stream.disconnect X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=22860f5185fb31c4de6f71342ce32e4cf7342a54;p=tweepy.git Simplify Stream.disconnect --- 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