summaryrefslogtreecommitdiffstats
path: root/Lib/mimetools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/mimetools.py')
-rw-r--r--Lib/mimetools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py
index 45d9d32..0553989 100644
--- a/Lib/mimetools.py
+++ b/Lib/mimetools.py
@@ -158,7 +158,7 @@ def decode(input, output, encoding):
import uu
return uu.decode(input, output)
if encoding in ('7bit', '8bit'):
- return output.write(input.read().decode("Latin-1"))
+ return output.write(input.read())
if encoding in decodetab:
pipethrough(input, decodetab[encoding], output)
else: