Fix typos and add the URL_INVALID error

This commit is contained in:
Lonami Exo
2018-07-14 10:43:24 +02:00
parent dc3d281274
commit 5017a9d1da
4 changed files with 4 additions and 3 deletions

View File

@@ -78,7 +78,7 @@ class Draft:
if not self.entity and await self.get_input_entity():
try:
self._entity =\
self._client.get_entity(self._input_entity)
await self._client.get_entity(self._input_entity)
except ValueError:
pass