diff --git a/disco/gateway/client.py b/disco/gateway/client.py index 6cd7d15..e997a98 100644 --- a/disco/gateway/client.py +++ b/disco/gateway/client.py @@ -3,7 +3,7 @@ import zlib import six import ssl -from platform import system +import platform 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': system(), + '$os': platform.system(), '$browser': 'disco', '$device': 'disco', '$referrer': '',