From f36840a9a627b219338b946a0e93a16008d3befd Mon Sep 17 00:00:00 2001 From: n9k Date: Wed, 20 Jul 2022 07:12:11 +0000 Subject: [PATCH] Typos --- anonstream/templates/error.html | 2 +- anonstream/websocket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: