From: Harmon Date: Mon, 12 Apr 2021 16:36:53 +0000 (-0500) Subject: Change Stream.on_disconnect_message notice parameter name to message X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=74f942595631128fa350e70b286eb59f5679d7c4;p=tweepy.git Change Stream.on_disconnect_message notice parameter name to message --- diff --git a/tweepy/streaming.py b/tweepy/streaming.py index fbad440..52c650a 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -273,9 +273,9 @@ class Stream: """This is called when a status deletion notice is received.""" log.debug("Received status deletion notice: %d", status_id) - def on_disconnect_message(self, notice): + def on_disconnect_message(self, message): """This is called when a disconnect message is received.""" - log.warning("Received disconnect message: %s", notice) + log.warning("Received disconnect message: %s", message) def on_limit(self, track): """This is called when a limit notice is received."""