diff options
Diffstat (limited to 'Lib/nntplib.py')
-rw-r--r-- | Lib/nntplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/nntplib.py b/Lib/nntplib.py index fad6b08..21faab1 100644 --- a/Lib/nntplib.py +++ b/Lib/nntplib.py @@ -179,7 +179,7 @@ class NNTP: """Internal: send one line to the server, appending CRLF.""" line = line + CRLF if self.debugging > 1: print '*put*', `line` - self.sock.send(line) + self.sock.sendall(line) def putcmd(self, line): """Internal: send one command to the server (through putline()).""" |