diff options
Diffstat (limited to 'Lib/email/quoprimime.py')
-rw-r--r-- | Lib/email/quoprimime.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/quoprimime.py b/Lib/email/quoprimime.py index e59479c..68dc11c 100644 --- a/Lib/email/quoprimime.py +++ b/Lib/email/quoprimime.py @@ -189,7 +189,7 @@ def body_encode(body, maxlinelen=76, eol=NL): for j in range(linelen): c = line[j] prev = c - if body_check(c): + if body_check(ord(c)): c = quote(c) elif j+1 == linelen: # Check for whitespace at end of line; special case |