From 6bdebe6932b348faab949894791c1c03f0645d16 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 4 Sep 2024 22:45:51 +0200 Subject: [PATCH] Revert bad change --- python_device/src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")