projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7756fa8
)
Disregard return value from Stream.on_connection_error
author
Harmon
<Harmon758@gmail.com>
Sun, 24 Jan 2021 13:57:38 +0000
(07:57 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sun, 24 Jan 2021 13:57:38 +0000
(07:57 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 405ebf2a0b2c69418246358e83b833eef7224ecf..ae6fb30cfe11af35a94a0c62e7eb29c6c040aea3 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-114,8
+114,7
@@
class Stream:
if isinstance(exc, ssl.SSLError):
if not (exc.args and 'timed out' in str(exc.args[0])):
raise
- if self.on_connection_error() is False:
- break
+ self.on_connection_error()
if self.running is False:
break
sleep(network_error_wait)