diff options
-rw-r--r-- | Lib/email/Generator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/email/Generator.py b/Lib/email/Generator.py index 12b9fdf..e969d00 100644 --- a/Lib/email/Generator.py +++ b/Lib/email/Generator.py @@ -273,6 +273,8 @@ class Generator: print >> self._fp, '\n--' + boundary + '--', # Write out any epilogue if msg.epilogue is not None: + if not msg.epilogue.startswith('\n'): + print >> self._fp self._fp.write(msg.epilogue) def _handle_multipart_digest(self, msg): |