From 3870820390664db3c09a9b2e6b8e20fb2e090df6 Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Mon, 28 Aug 2023 11:13:55 +0800 Subject: [PATCH] Update Proxy.py Signed-off-by: Loren Eteval --- Furious/Utility/Proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Furious/Utility/Proxy.py b/Furious/Utility/Proxy.py index 22129cf..a115d49 100644 --- a/Furious/Utility/Proxy.py +++ b/Furious/Utility/Proxy.py @@ -19,9 +19,9 @@ def linuxProxyConfig(proxy_args, arg0, arg1): arg0, arg1, ], - check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, + check=True, ) @@ -29,9 +29,9 @@ def darwinProxyConfig(operation, *args): def getNetworkServices(): command = runCommand( ['networksetup', '-listallnetworkservices'], - check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, + check=True, ) service = list(filter(lambda x: x != '', command.stdout.decode().split('\n')))