From 89cd2e77e58c228bfd9f8e3be4487a66e25b2b51 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Fri, 27 Oct 2023 19:54:54 +0300 Subject: [PATCH] fix: "power_switch" is null in shuttle_index.json --- shuttle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shuttle.py b/shuttle.py index 1d978ce..0d411d9 100644 --- a/shuttle.py +++ b/shuttle.py @@ -73,7 +73,7 @@ class ShuttleConfig: "repo": project.git_url, "commit": project.commit_id, "features": { - "power_switch": module["pg_vdd"], + "power_switch": bool(module["pg_vdd"]), "analog": module["analog"], }, }