Fix SenderGetter was excepting the wrong type

This commit is contained in:
Lonami Exo 2019-05-04 19:30:33 +02:00
parent 716ab2f96d
commit f5e611e4d2

View File

@ -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