From 356a8b16d2e060ccd0c91581c96e90ced7a52038 Mon Sep 17 00:00:00 2001 From: tristanatfarkas <15787558+trilleplay@users.noreply.github.com> Date: Mon, 7 Oct 2019 16:26:56 +0200 Subject: [PATCH] Move to the system namespace. Co-Authored-By: Andrei Zbikowski --- 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 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': '',