fix(SatiSocket): revert call fix
This commit is contained in:
@ -109,9 +109,7 @@ class SatiSocket:
|
||||
if msg_type in ( 'auth', 'call' ):
|
||||
return await fut
|
||||
|
||||
async def call(self, method: str, data: dict | None = None) -> SatiDict:
|
||||
if data == None: data = {}
|
||||
|
||||
async def call(self, method: str, data: dict = {}) -> SatiDict:
|
||||
if self.__state == STATE_CONNECTED:
|
||||
resp = await self.__send('call', {
|
||||
'method': method,
|
||||
|
Reference in New Issue
Block a user