File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ def run(self):
156
156
"""
157
157
try :
158
158
task = self .loop .create_task (self .connect ())
159
- self .loop .run_until_complete (task ) # this'll raise if the connect fails
159
+ self .loop .run_until_complete (task ) # this'll raise if the connect fails
160
160
self .loop .run_forever ()
161
161
except KeyboardInterrupt :
162
162
pass
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ async def _connect(self):
126
126
data = await self ._client ._http .validate (token = self ._token )
127
127
except AuthenticationError :
128
128
await self ._client ._http .session .close ()
129
- self ._client ._closing .set () # clean up and error out (this is called to avoid calling Client.close in start()
129
+ self ._client ._closing .set () # clean up and error out (this is called to avoid calling Client.close in start()
130
130
raise
131
131
self .nick = data ["login" ]
132
132
self .user_id = int (data ["user_id" ])
You can’t perform that action at this time.
0 commit comments