From 1c19250fe549c036c971d22d84c21fe3e62f48b1 Mon Sep 17 00:00:00 2001 From: tobi-wan-kenobi Date: Sun, 18 Sep 2022 16:50:43 +0200 Subject: [PATCH] [core/output] fix broken output --- bumblebee_status/core/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee_status/core/output.py b/bumblebee_status/core/output.py index b17811e..9ff3010 100644 --- a/bumblebee_status/core/output.py +++ b/bumblebee_status/core/output.py @@ -185,7 +185,7 @@ class i3(object): cb = getattr(self, what) data = cb(args) if args else cb() if "blocks" in data: - sys.stdout.write(json.dumps(data, default=dump_json)) + sys.stdout.write(json.dumps(data["blocks"], default=dump_json)) if "suffix" in data: sys.stdout.write(data["suffix"]) sys.stdout.write("\n")