OCA / interface-github

Tools to interact with github from Odoo
GNU Affero General Public License v3.0
46 stars 77 forks source link

[FIX] module icon resize problem #19

Closed bizzappdev closed 6 years ago

bizzappdev commented 6 years ago

problem was from https://github.com/OCA/interface-github/blob/11.0/github_connector_odoo/models/odoo_module_version.py#L345

when the icon as resized it was always having a warning log. and modules did not have the icon. for tracing, I commented out the Try and except. and found that it was raising an error AttributeError: 'bytes' object has no attribute 'encode' so with this PR, I have tried to solve the problem.