Revert bad change

This commit is contained in:
Pierre HUBERT 2024-09-04 22:45:51 +02:00
parent 1b02a812b4
commit 6bdebe6932

View File

@ -67,7 +67,7 @@ if status != "Validated":
if status == "Unknown": if status == "Unknown":
print("Device is unknown on the system, need to submit a CSR...") print("Device is unknown on the system, need to submit a CSR...")
with open(args.dev_csr_path, "r") as f: with open(args.dev_csr_path, "r") as f:
csr = "".utils csr = "".join(f.read())
print("Enrolling device...") print("Enrolling device...")
api.enroll_device(csr) api.enroll_device(csr)
print("Done. Please accept the device on central system web UI") print("Done. Please accept the device on central system web UI")