Skip to content

Commit 104a95a

Browse files
committed
remove useless code
1 parent 63239ed commit 104a95a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

seatable_api/socket_io.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99

1010
class SIO(socketio.Client):
1111

12-
def __init__(self, *args, **kwargs):
13-
self.base = kwargs.pop('base')
14-
super().__init__(*args, **kwargs)
15-
1612
def _handle_disconnect(self, namespace):
1713
"""io server disconnect"""
1814
self.logger.info('Engine.IO connection disconnected')
@@ -31,7 +27,7 @@ class SocketIO(object):
3127

3228
def __init__(self, base):
3329
self.base = base
34-
self.sio = SIO(request_timeout=base.timeout, base=base)
30+
self.sio = SIO(request_timeout=base.timeout)
3531

3632
def __str__(self):
3733
return '<SeaTable SocketIO [ %s ]>' % self.base.dtable_name

0 commit comments

Comments
 (0)