On Fri, Oct 11, 2019 at 4:32 PM Yasuhito FUTATSUKI <futat...@poem.co.jp> wrote: > This is caused by mixing bytes object drived from file contents and str > object to construct log message.
Does something like this answer help: https://stackoverflow.com/questions/31058055/how-do-i-convert-a-python-3-byte-string-variable-into-a-regular-string/31060836 Something like: str(bytes_string, 'utf-8')