mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-17 03:51:05 +03:00
The precedence of the or operator made the check succeed always out of pure luck, since `''.lower()` would never be the chosen username, but a present username is truthy. This presumably worked because Telegram only returns one result from the call, or puts the right entity the first one. |
||
---|---|---|
.. | ||
__init__.py | ||
auth.py | ||
bots.py | ||
buttons.py | ||
chats.py | ||
dialogs.py | ||
downloads.py | ||
messageparse.py | ||
messages.py | ||
telegrambaseclient.py | ||
telegramclient.py | ||
updates.py | ||
uploads.py | ||
users.py |