Fix wrong variable name causing .connect() to fail

This commit is contained in:
Lonami Exo 2017-09-08 18:28:31 +02:00
parent fa4042a80e
commit 54ba0661c6

View File

@ -161,7 +161,7 @@ class TelegramClient(TelegramBareClient):
target=self._recv_thread_impl
)
self._recv_thread.start()
if self.updates.enabled:
if self.updates.polling:
self.sync_updates()
return ok