satori-python-server 0.14.0__tar.gz → 0.14.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/PKG-INFO +1 -1
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/pyproject.toml +1 -1
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/__init__.py +3 -1
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/.mina/server.toml +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/LICENSE +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/README.md +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/adapter.py +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/conection.py +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/deque.py +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/formdata.py +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/model.py +0 -0
- {satori_python_server-0.14.0 → satori_python_server-0.14.1}/src/satori/server/route.py +0 -0
|
@@ -160,7 +160,9 @@ class Server(Service, RouterMixin):
|
|
|
160
160
|
if not provider.authenticate(token):
|
|
161
161
|
return await ws.close(code=3000, reason="Unauthorized")
|
|
162
162
|
logins.extend(await provider.get_logins())
|
|
163
|
-
sequence = body.get("sequence"
|
|
163
|
+
sequence = body.get("sequence")
|
|
164
|
+
if sequence is None:
|
|
165
|
+
sequence = -1
|
|
164
166
|
await connection.send({"op": Opcode.READY, "body": {"logins": [lo.dump() for lo in logins]}})
|
|
165
167
|
self.connections.append(connection)
|
|
166
168
|
logger.debug(f"New connection: {id(connection)}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|