Skip to content
Draft
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions discord/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
from urllib.parse import quote as _uriquote

import aiohttp
import utils

from . import __version__, utils
from . import __version__
from .errors import (
DiscordServerError,
Forbidden,
Expand All @@ -46,7 +47,6 @@
)
from .file import VoiceMessage
from .gateway import DiscordClientWebSocketResponse
from .utils import MISSING, warn_deprecated

_log = logging.getLogger(__name__)

Expand Down Expand Up @@ -179,7 +179,7 @@ def __init__(
asyncio.get_event_loop() if loop is None else loop
)
self.connector = connector
self.__session: aiohttp.ClientSession = MISSING # filled in static_login
self.__session: aiohttp.ClientSession = utils.MISSING # filled in static_login
self._locks: weakref.WeakValueDictionary = weakref.WeakValueDictionary()
self._global_over: asyncio.Event = asyncio.Event()
self._global_over.set()
Expand Down
Loading