mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Made more platform-neutral (ironically).
This commit is contained in:
parent
db8d18b1aa
commit
bb4d9afe16
@ -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.')
|
||||||
|
Loading…
Reference in New Issue
Block a user