Remove unnecessary type cast when logging unknown streaming message type
authorHarmon <Harmon758@gmail.com>
Sat, 8 Jun 2019 00:51:41 +0000 (19:51 -0500)
committerGitHub <noreply@github.com>
Sat, 8 Jun 2019 00:51:41 +0000 (19:51 -0500)
tweepy/streaming.py

index 9b41ae36a1542a7f1e548e69dd9bef937eaa6f75..7a487afcc1d3eb3ca9bd67c6637ffd8ba34722ed 100644 (file)
@@ -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"""