diff --git a/payload/usr/local/sal/checkin_modules/machine_checkin.py b/payload/usr/local/sal/checkin_modules/machine_checkin.py index 526caa2..877815d 100755 --- a/payload/usr/local/sal/checkin_modules/machine_checkin.py +++ b/payload/usr/local/sal/checkin_modules/machine_checkin.py @@ -120,7 +120,13 @@ def get_friendly_model(serial, udid): try: data = plistlib.loads(out) if len(data) != 0: - return data[0].get("product-name").encode("ascii", "ignore").strip() + return ( + data[0] + .get("product-name") + .encode("ascii", "ignore") + .decode() + .strip() + ) except: pass