X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.py;h=37fa212f6b5d44310657749f692496dd0e91676a;hb=724abcf10ef905bd290e90fff2a69baa3d70a0e6;hp=5d84a27621954b82724b385282e5bb1f9b358cf6;hpb=68e059f66ec0d4db1ad741bc21e6b10c5db51436;p=mimedecode.git diff --git a/mimedecode.py b/mimedecode.py index 5d84a27..37fa212 100755 --- a/mimedecode.py +++ b/mimedecode.py @@ -41,7 +41,7 @@ def output(s, outfile=sys.stdout): def output_headers(msg, outfile=sys.stdout): unix_from = msg.get_unixfrom() if unix_from: - output(unix_from + os.linesep) + output(unix_from + '\n') for key, value in msg.items(): output("%s: %s\n" % (key, value), outfile) output("\n", outfile) # End of headers