summaryrefslogtreecommitdiff
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-xLib/smtpd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py
index 33653d4fbf..0fae1702a6 100755
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -154,7 +154,7 @@ class SMTPChannel(asynchat.async_chat):
else:
self._emptystring = b''
self._linesep = b'\r\n'
- self._dotsep = b'.'
+ self._dotsep = ord(b'.')
self._newline = b'\n'
self._set_rset_state()
self.seen_greeting = ''