summaryrefslogtreecommitdiffstats
path: root/Lib/rfc822.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/rfc822.py')
-rw-r--r--Lib/rfc822.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index 8721994..a147155 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -158,7 +158,7 @@ class Message:
if headerseen:
# It's a legal header line, save it.
list.append(line)
- self.dict[headerseen] = string.strip(line[len(headerseen)+2:])
+ self.dict[headerseen] = string.strip(line[len(headerseen)+1:])
continue
else:
# It's not a header line; throw it back and stop here.