projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
651cefa
)
Remove unnecessary type cast when logging unknown streaming message type
author
Harmon
<Harmon758@gmail.com>
Sat, 8 Jun 2019 00:51:41 +0000
(19:51 -0500)
committer
GitHub
<noreply@github.com>
Sat, 8 Jun 2019 00:51:41 +0000
(19:51 -0500)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 9b41ae36a1542a7f1e548e69dd9bef937eaa6f75..7a487afcc1d3eb3ca9bd67c6637ffd8ba34722ed 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-85,7
+85,7
@@
class StreamListener(object):
if self.on_user_withheld(data['user_withheld']) is False:
return False
else:
- logging.error("Unknown message type: %s",
str(raw_data)
)
+ logging.error("Unknown message type: %s",
raw_data
)
def keep_alive(self):
"""Called when a keep-alive arrived"""