diff options
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-x | Lib/smtpd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py index 2e09c5a..98ef436 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -132,7 +132,7 @@ class SMTPChannel(asynchat.async_chat): # Implementation of base class abstract method def collect_incoming_data(self, data): - self.__line.append(data) + self.__line.append(str(data, "utf8")) # Implementation of base class abstract method def found_terminator(self): |