summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/mimetools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index 2844fa4..71d0087 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -12,8 +12,8 @@ import tempfile
class Message(rfc822.Message):
- def __init__(self, fp):
- rfc822.Message.__init__(self, fp)
+ def __init__(self, fp, seekable = 1):
+ rfc822.Message.__init__(self, fp, seekable)
self.encodingheader = \
self.getheader('content-transfer-encoding')
self.typeheader = \