From a8ce308b7a21643b9adc5c6fc81fbc357b3187ee Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Sun, 18 Dec 2022 12:41:08 +0100 Subject: [PATCH] Fix messagebox state trace was not logging the object This state was a TL State, not the MessageBox State with repr. --- telethon/_updates/messagebox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/_updates/messagebox.py b/telethon/_updates/messagebox.py index ea709e87..2014f63d 100644 --- a/telethon/_updates/messagebox.py +++ b/telethon/_updates/messagebox.py @@ -329,7 +329,7 @@ class MessageBox: # updates will be fetched. def set_state(self, state, reset=True): if __debug__: - self._trace('Setting state %r', state) + self._trace('Setting state %s', state) deadline = next_updates_deadline()