Fix AttributeError

This commit is contained in:
Gabben 2020-04-08 20:32:16 +05:00 committed by GitHub
parent 466d842ec5
commit 38ce09f612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,7 +182,7 @@ class WebhookRequestHandler(web.View):
try:
try:
await waiter
except asyncio.futures.CancelledError:
except asyncio.CancelledError:
fut.remove_done_callback(cb)
fut.cancel()
raise