Browse Source

type ignore aiohttp monkeypatch

pull/10109/head
dolfies 3 years ago
parent
commit
f96282298e
  1. 2
      discord/http.py

2
discord/http.py

@ -104,7 +104,7 @@ async def json_or_text(response: aiohttp.ClientResponse) -> Union[Dict[str, Any]
def _gen_accept_encoding_header():
return 'gzip, deflate, br' if aiohttp.http_parser.HAS_BROTLI else 'gzip, deflate'
return 'gzip, deflate, br' if aiohttp.http_parser.HAS_BROTLI else 'gzip, deflate' # type: ignore
class Route:

Loading…
Cancel
Save