Mypy error
This commit is contained in:
parent
bb019d1416
commit
2a9f28793c
1 changed files with 3 additions and 1 deletions
|
@ -228,6 +228,8 @@ class AternosWss:
|
||||||
logging.warning('Did you forget to call socket.connect?')
|
logging.warning('Did you forget to call socket.connect?')
|
||||||
await self.connect()
|
await self.connect()
|
||||||
|
|
||||||
|
assert self.socket is not None
|
||||||
|
|
||||||
if isinstance(obj, dict):
|
if isinstance(obj, dict):
|
||||||
obj = json.dumps(obj)
|
obj = json.dumps(obj)
|
||||||
|
|
||||||
|
|
Reference in a new issue