Skip to content
Snippets Groups Projects
user avatar
George McCollister authored
With Python 3.5.2 encode will throw an exception if val is a byte array.
Decode it to a string first. This assumes it's utf-8, if it's not valid
utf-8 it will throw an exception.

Signed-off-by: default avatarGeorge McCollister <george.mccollister@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
f156b5b5
History
Name Last commit Last update
..