mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 10:53:44 +03:00
Fix SenderGetter was excepting the wrong type
This commit is contained in:
parent
716ab2f96d
commit
f5e611e4d2
|
@ -59,7 +59,7 @@ class SenderGetter(abc.ABC):
|
|||
try:
|
||||
self._input_sender = \
|
||||
self._client._entity_cache[self._sender_id]
|
||||
except ValueError:
|
||||
except KeyError:
|
||||
pass
|
||||
return self._input_sender
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user