mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
Make is_connected a property
This is consistent with the rest of is_ properties
This commit is contained in:
@@ -228,7 +228,7 @@ class App(tkinter.Tk):
|
||||
"""
|
||||
Sends a message. Does nothing if the client is not connected.
|
||||
"""
|
||||
if not self.cl.is_connected():
|
||||
if not self.cl.is_connected:
|
||||
return
|
||||
|
||||
# The user needs to configure a chat where the message should be sent.
|
||||
|
Reference in New Issue
Block a user