mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Do not encode strings for plain output
This commit is contained in:
parent
93977542b3
commit
90f894b541
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue