diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2022-05-19 14:19:54 +0200 |
---|---|---|
committer | Jose M. Guisado <jguisado@soleta.eu> | 2022-05-20 10:28:40 +0200 |
commit | 7d11dc47e11943717663100e986ffd8c5f6c577a (patch) | |
tree | c68985c26acc754a83384b76313895f9845ec1b8 | |
parent | d90ab82cec328004e743b2bfbb7c25b32eb299ea (diff) |
list modes: use print_json
Follows commit b765ee50d31b1b629b7572c231d2cf2840a4146f
(utils: add print_json)
-rw-r--r-- | cli/objects/modes.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |