Set default TelegramBareClient behaviour to not spawn ReadThread

This commit is contained in:
Lonami Exo 2017-09-30 15:53:47 +02:00
parent 0a567fcd7c
commit 18e485ded2

View File

@ -68,7 +68,7 @@ class TelegramBareClient:
connection_mode=ConnectionMode.TCP_FULL, connection_mode=ConnectionMode.TCP_FULL,
proxy=None, proxy=None,
update_workers=None, update_workers=None,
spawn_read_thread=True, spawn_read_thread=False,
timeout=timedelta(seconds=5), timeout=timedelta(seconds=5),
**kwargs): **kwargs):
"""Refer to TelegramClient.__init__ for docs on this method""" """Refer to TelegramClient.__init__ for docs on this method"""