Fix messagebox state trace was not logging the object

This state was a TL State, not the MessageBox State with repr.
This commit is contained in:
Lonami Exo 2022-12-18 12:41:08 +01:00
parent c72c7b160a
commit a8ce308b7a

View File

@ -329,7 +329,7 @@ class MessageBox:
# updates will be fetched. # updates will be fetched.
def set_state(self, state, reset=True): def set_state(self, state, reset=True):
if __debug__: if __debug__:
self._trace('Setting state %r', state) self._trace('Setting state %s', state)
deadline = next_updates_deadline() deadline = next_updates_deadline()