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):
156156 """
157157 try :
158158 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
160160 self .loop .run_forever ()
161161 except KeyboardInterrupt :
162162 pass
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ async def _connect(self):
126126 data = await self ._client ._http .validate (token = self ._token )
127127 except AuthenticationError :
128128 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()
130130 raise
131131 self .nick = data ["login" ]
132132 self .user_id = int (data ["user_id" ])
You can’t perform that action at this time.
0 commit comments