tests/unwrap-message-id.py
author Matt Harbison <matt_harbison@yahoo.com>
Wed, 01 Mar 2023 11:53:31 -0500
changeset 50375 29d7a5a8b8c6
parent 48875 6000f5b25c9b
permissions -rw-r--r--
crecord: switch a curses argument to bool to appease type checkers

import sys

for line in sys.stdin:
    if line.lower() in ("message-id: \n", "in-reply-to: \n"):
        line = line[:-2]
    print(line, end="")