From 7d11dc47e11943717663100e986ffd8c5f6c577a Mon Sep 17 00:00:00 2001 From: "Jose M. Guisado" Date: Thu, 19 May 2022 14:19:54 +0200 Subject: list modes: use print_json Follows commit b765ee50d31b1b629b7572c231d2cf2840a4146f (utils: add print_json) --- cli/objects/modes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/objects') diff --git a/cli/objects/modes.py b/cli/objects/modes.py index 2abb091..d7ef8f2 100644 --- a/cli/objects/modes.py +++ b/cli/objects/modes.py @@ -15,7 +15,7 @@ class OgModes(): @staticmethod def list_available_modes(rest): r = rest.get('/mode') - print(r.text) + print_json(r.text) @staticmethod def set_modes(rest, args): -- cgit v1.2.3-18-g5258