mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 04:52:30 +00:00
Fix SenderGetter was excepting the wrong type
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user