From 74f942595631128fa350e70b286eb59f5679d7c4 Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 12 Apr 2021 11:36:53 -0500 Subject: [PATCH] Change Stream.on_disconnect_message notice parameter name to message --- tweepy/streaming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.""" -- 2.25.1