gateway: pass version as int to websocket properties

This commit is contained in:
Luna 2021-08-28 17:52:00 -03:00
parent 12373bd02f
commit 3c046cb34d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ async def websocket_handler(app, ws, url):
async with app.app_context():
gws = GatewayWebsocket(
ws, v=gw_version, encoding=gw_encoding, compress=gw_compress
ws, v=int(gw_version), encoding=gw_encoding, compress=gw_compress
)
# this can be run with a single await since this whole coroutine