From 3d68c879dd08fdff5d8df0aab90fc750c1b7668b Mon Sep 17 00:00:00 2001 From: Lonami Exo Date: Thu, 1 Mar 2018 13:25:38 +0100 Subject: [PATCH] Avoid using undefined variable in the README.rst --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index febc43cd..a2e0d3de 100755 --- a/README.rst +++ b/README.rst @@ -46,12 +46,12 @@ Doing stuff .. code:: python - print(me.stringify()) + print(client.get_me().stringify()) client.send_message('username', 'Hello! Talking to you from Telethon') client.send_file('username', '/home/myself/Pictures/holidays.jpg') - client.download_profile_photo(me) + client.download_profile_photo('me') messages = client.get_message_history('username') client.download_media(messages[0])