diff --git a/script/api_protobuf/api_protobuf.py b/script/api_protobuf/api_protobuf.py index 07f2111258..df4376933b 100755 --- a/script/api_protobuf/api_protobuf.py +++ b/script/api_protobuf/api_protobuf.py @@ -838,7 +838,7 @@ class FixedArrayBytesType(TypeInfo): def dump_content(self) -> str: o = f'out.append(" {self.name}: ");\n' o += f"out.append(format_hex_pretty(this->{self.field_name}, this->{self.field_name}_len));\n" - o += 'out.append("\\n");\n' + o += 'out.append("\\n");' return o def get_size_calculation(self, name: str, force: bool = False) -> str: