diff --git a/src/oca_pre_commit_hooks/checks_odoo_module_xml.py b/src/oca_pre_commit_hooks/checks_odoo_module_xml.py index 4cbf2b9..34c3914 100644 --- a/src/oca_pre_commit_hooks/checks_odoo_module_xml.py +++ b/src/oca_pre_commit_hooks/checks_odoo_module_xml.py @@ -117,7 +117,7 @@ def _get_first_tag(self, fileobj_xml): if line_stripped not in buffer: buffer.append(line_stripped) return b" ".join(buffer), buffer_lineno - return "", 0 + return b"", 0 def update_node(self, manifest_data): """Update the etree node of the manifest_data.