aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/email/base64mime.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email/base64mime.py')
-rw-r--r--Lib/email/base64mime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/base64mime.py b/Lib/email/base64mime.py
index 17f0818f6ca..a7cc37365c6 100644
--- a/Lib/email/base64mime.py
+++ b/Lib/email/base64mime.py
@@ -84,7 +84,7 @@ def body_encode(s, maxlinelen=76, eol=NL):
in an email.
"""
if not s:
- return s
+ return ""
encvec = []
max_unencoded = maxlinelen * 3 // 4