From e2898925a5e3834a1de13b1b7a3ef62bf03b6023 Mon Sep 17 00:00:00 2001 From: trilleplay <15787558+trilleplay@users.noreply.github.com> Date: Fri, 26 Jul 2019 18:18:07 +0200 Subject: [PATCH] This should work on linux aswell. --- disco/gateway/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/disco/gateway/client.py b/disco/gateway/client.py index fa62811..6cd7d15 100644 --- a/disco/gateway/client.py +++ b/disco/gateway/client.py @@ -3,7 +3,7 @@ import zlib import six import ssl -from system import platform +from platform import system from websocket import ABNF from disco.gateway.packets import OPCode, RECV, SEND @@ -220,7 +220,7 @@ class GatewayClient(LoggingClass): int(self.client.config.shard_count), ], 'properties': { - '$os': platform, + '$os': system(), '$browser': 'disco', '$device': 'disco', '$referrer': '',