From 90f894b54144747c34374d11423485259281e527 Mon Sep 17 00:00:00 2001 From: Kayou Date: Sat, 30 Jan 2021 11:13:53 +0100 Subject: [PATCH] Do not encode strings for plain output --- moulinette/interfaces/cli.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/moulinette/interfaces/cli.py b/moulinette/interfaces/cli.py index 11d219b1..01c7f2e0 100644 --- a/moulinette/interfaces/cli.py +++ b/moulinette/interfaces/cli.py @@ -92,8 +92,6 @@ def plain_print_dict(d, depth=0): print("{}{}".format("#" * (depth + 1), k)) plain_print_dict(v, depth + 1) else: - if isinstance(d, str): - d = d.encode("utf-8") print(d)