[Reported by @dhannyz](https://github.com/odoo/odoo/commit/3824b5dcc13678d3985ad45ac21dcf9ac9202c20##commitcomment-23787602): > This line is causing issues for me on python3.5+ (`TypeError: decoding with 'base64' codec failed (TypeError: expected bytes-like object, not str)`) > This occurs for me during setting a logo image on the company form view.