projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eac7400
)
Stop disconnecting by default in Stream.on_request_error
author
Harmon
<Harmon758@gmail.com>
Sun, 24 Jan 2021 13:49:29 +0000
(07:49 -0600)
committer
Harmon
<Harmon758@gmail.com>
Sun, 24 Jan 2021 13:49:29 +0000
(07:49 -0600)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index ce9af9593907a4344e576d12d1d29256d546b015..14af2ce0b04716a7ba4e031326a95c33713159b1 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-211,7
+211,6
@@
class Stream:
def on_request_error(self, status_code):
"""Called when a non-200 status code is returned"""
log.error("Stream encountered HTTP error: %d", status_code)
- return False
def on_data(self, raw_data):
"""Called when raw data is received from connection.