all repos — listfix @ 6c061c10cede2a835dbe44f5bcfc9e41e979e6a2

Postfix Mailing List Software; Maintained on behalf the of Agency Economy Incorporated NFP.

Fix bug in add_header()

	modified:   listfix/email.py
Brian Barto bartobrian@gmail.com
Sun, 10 Apr 2022 07:54:01 -0400
commit

6c061c10cede2a835dbe44f5bcfc9e41e979e6a2

parent

8caaea6e73106c67ae1b2e73ce32efb17147ffa9

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M listfix/email.pylistfix/email.py

@@ -92,7 +92,8 @@ j += 1

def add_header(self, header): header = header.rstrip() + "\n" - self.content.append(header) + header_count = len(self.get_headers()) + self.content.insert(header_count, header) def add_header_prepend(self, header): header = header.rstrip() + "\n"