From cf172c6923cb019734a10f54f8a2d530658326a8 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 7 Jun 2019 19:51:41 -0500 Subject: [PATCH] Remove unnecessary type cast when logging unknown streaming message type --- tweepy/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 9b41ae3..7a487af 100644 --- 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""" -- 2.25.1