diff --git a/python_device/src/main.py b/python_device/src/main.py index 063bed3..a1c62fb 100644 --- a/python_device/src/main.py +++ b/python_device/src/main.py @@ -67,7 +67,7 @@ if status != "Validated": if status == "Unknown": print("Device is unknown on the system, need to submit a CSR...") with open(args.dev_csr_path, "r") as f: - csr = "".utils + csr = "".join(f.read()) print("Enrolling device...") api.enroll_device(csr) print("Done. Please accept the device on central system web UI")