Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
fixup: reformat with black and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
kijk2869 authored and actions-user committed Aug 8, 2020
1 parent 81da29d commit 4675b3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions discodo/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ def addLoggingHandler(logger):
pass
else:
asyncio.set_event_loop(uvloop.new_event_loop())

loop = asyncio.get_event_loop()

from .node import server
from .updater import check_version

Expand Down
5 changes: 4 additions & 1 deletion discodo/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ def __init__(self, *args, **kwargs):
@classmethod
async def connect(cls, client, resume=False):
ws = await websockets.connect(
f"wss://{client.endpoint}/?v=4", loop=client.loop, klass=cls, compression=None
f"wss://{client.endpoint}/?v=4",
loop=client.loop,
klass=cls,
compression=None,
)
ws.client = client

Expand Down

0 comments on commit 4675b3a

Please sign in to comment.