From fbe081c1c40c24de8f34a0afd43acf0b95145559 Mon Sep 17 00:00:00 2001 From: Jesse Peterson Date: Sat, 20 Nov 2021 12:31:30 -0800 Subject: [PATCH] Remove plistlib.Data() for newer Python --- tools/cmdr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmdr.py b/tools/cmdr.py index e8174ed..ddbff4e 100755 --- a/tools/cmdr.py +++ b/tools/cmdr.py @@ -21,7 +21,7 @@ def simple_command_body(args): def install_profile(args): return { "RequestType": "InstallProfile", - "Payload": plistlib.Data(args.mobileconfig.read()), + "Payload": args.mobileconfig.read(), }