File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ async def _handle_eio_connect(self):
497
497
"""Handle the Engine.IO connection event."""
498
498
self .logger .info ('Engine.IO connection established' )
499
499
self .sid = self .eio .sid
500
- real_auth = await self ._get_real_value (self .connection_auth )
500
+ real_auth = await self ._get_real_value (self .connection_auth ) or {}
501
501
for n in self .connection_namespaces :
502
502
await self ._send_packet (self .packet_class (
503
503
packet .CONNECT , data = real_auth , namespace = n ))
Original file line number Diff line number Diff line change @@ -680,7 +680,7 @@ def _handle_eio_connect(self):
680
680
"""Handle the Engine.IO connection event."""
681
681
self .logger .info ('Engine.IO connection established' )
682
682
self .sid = self .eio .sid
683
- real_auth = self ._get_real_value (self .connection_auth )
683
+ real_auth = self ._get_real_value (self .connection_auth ) or {}
684
684
for n in self .connection_namespaces :
685
685
self ._send_packet (self .packet_class (
686
686
packet .CONNECT , data = real_auth , namespace = n ))
You can’t perform that action at this time.
0 commit comments