mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-03 10:45:52 +03:00
Fix wrong variable name causing .connect() to fail
This commit is contained in:
parent
fa4042a80e
commit
54ba0661c6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user