From: martin f. krafft Date: Sun, 30 Sep 2007 15:42:37 +0000 (+0100) Subject: fix creation of new messages X-Git-Tag: mailplate-0.1~13 X-Git-Url: https://git.madduck.net/code/mailplate.git/commitdiff_plain/27ca9e642e5f289e874095eb0217dd14c2c902ef fix creation of new messages --- diff --git a/mailplate b/mailplate index 7e1a4d4..4d0b28c 100755 --- a/mailplate +++ b/mailplate @@ -295,7 +295,7 @@ if infname is not None: # read message into buffer, or preinitialise the buffer if --new is given if options.new: - rawmsg = '\n'.join((header + ': ' for k in STD_HEADERS)) + '\n' + rawmsg = '\n'.join((header + ': ' for header in STD_HEADERS)) + '\n' else: rawmsg = ''.join(inf.readlines())