From 9a53656ebff145f91f6fad97afdcf5862bace203 Mon Sep 17 00:00:00 2001 From: Graham R Pugh Date: Thu, 6 Aug 2020 21:07:06 +0200 Subject: [PATCH] syntax --- installinstallmacos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installinstallmacos.py b/installinstallmacos.py index 008e227..6bf473e 100755 --- a/installinstallmacos.py +++ b/installinstallmacos.py @@ -109,7 +109,9 @@ def get_bridge_id(): """Gets the local system DeviceID for T2 Macs""" remotectl_cmd = ["/usr/libexec/remotectl", "get-property", "localbridge", "HWModel"] try: - remotectl_output = subprocess.check_output(remotectl_cmd, , stderr=subprocess.STDOUT) + remotectl_output = subprocess.check_output( + remotectl_cmd, stderr=subprocess.STDOUT + ) bridge_id = remotectl_output.decode("utf8").split(" ")[-1].split("\n")[0] except subprocess.CalledProcessError as err: return None