diff --git a/asyncio_mqtt/client.py b/asyncio_mqtt/client.py index e1a0132..ea91187 100644 --- a/asyncio_mqtt/client.py +++ b/asyncio_mqtt/client.py @@ -18,7 +18,7 @@ class Client: def __init__(self, hostname, port=1883, *, username=None, password=None, logger=None, client_id=None, tls_context=None, protocol=None, - will=None, clean_session=True): + will=None, clean_session=None): self._hostname = hostname self._port = port self._loop = asyncio.get_event_loop()