optional_plugins: Decode tree-representation in yaml_to_mux
The 'tree.tree_view' reports bytes, but the 'to_str' method is supposed
to return text. To avoid mix-matching bytes and strings let's always
decode.
It's not really necessary to differentiate between ascii/utf8 as those
are the only encodings and ascii is a subset of utf8.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录