mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 18:27:59 -05:00
[V3] Actually add compatibility with 3.5.1 (#1155)
* Fix 3.5.1 issue with TYPE_CHECKING * I hate you * Smarter...
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from typing import NewType, TYPE_CHECKING
|
||||
|
||||
import asyncio
|
||||
|
||||
from aiohttp.web import Application
|
||||
@@ -7,6 +5,8 @@ from aiohttp_json_rpc import JsonRpc
|
||||
|
||||
import logging
|
||||
|
||||
from .utils import TYPE_CHECKING, NewType
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .bot import Red
|
||||
|
||||
|
||||
Reference in New Issue
Block a user