diff --git a/anonstream/templates/error.html b/anonstream/templates/error.html index 7880e95..bda688a 100644 --- a/anonstream/templates/error.html +++ b/anonstream/templates/error.html @@ -50,7 +50,7 @@ margin: 24pt 16pt; } } - @media (min-width: 400px) and (min-height: 128px;) { + @media (min-width: 400px) and (min-height: 128px) { body { background-color: #18181a; } diff --git a/anonstream/websocket.py b/anonstream/websocket.py index a20d393..ba016f5 100644 --- a/anonstream/websocket.py +++ b/anonstream/websocket.py @@ -50,7 +50,7 @@ async def websocket_outbound(queue, user): try: ensure_allowedness(user) except AllowednessException: - websocket.send_json({'type': 'kick'}) + await websocket.send_json({'type': 'kick'}) await websocket.close(1001) break else: