Skip to content

Commit

Permalink
Update Client.__init__ signature to v1/v2 in Client.reinitialise
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesParrott authored May 13, 2024
1 parent d45de37 commit d0f0dbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paho/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ def reinitialise(
) -> None:
self._reset_sockets()

self.__init__(client_id, clean_session, userdata) # type: ignore[misc]
self.__init__(self.callback_api_version, client_id, clean_session, userdata) # type: ignore[misc]

def ws_set_options(
self,
Expand Down

0 comments on commit d0f0dbd

Please sign in to comment.