examples/tests/whiteboard.py: use bytes on base64.encodestring()
base64.encodestring() requires bytes on Python 3, and the whiteboard,
on the other hand, requires a string.
The default encodings will be used for encoding, and for encoding,
we want to be safe and use ascii which can be represented in the
various result formats.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录