From: Harmon Date: Sat, 8 Jun 2019 00:51:41 +0000 (-0500) Subject: Remove unnecessary type cast when logging unknown streaming message type X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cf172c6923cb019734a10f54f8a2d530658326a8;p=tweepy.git Remove unnecessary type cast when logging unknown streaming message type --- 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"""