Made more platform-neutral (ironically).

This commit is contained in:
Jeremy Fincher 2003-12-16 13:34:12 +00:00
parent db8d18b1aa
commit bb4d9afe16

View File

@ -194,7 +194,7 @@ class Unix(callbacks.Privmsg):
try: try:
line = pipeReadline(r) line = pipeReadline(r)
# aspell puts extra whitespace, ignore it # aspell puts extra whitespace, ignore it
while line == '\n': while not line.strip('\r\n'):
line = pipeReadline(r) line = pipeReadline(r)
except TimeoutError: except TimeoutError:
irc.error(msg, 'The spell command timed out.') irc.error(msg, 'The spell command timed out.')