Allows inputting of empty lines.

This commit is contained in:
Simon Vermeersch 2014-09-28 16:35:21 +02:00 committed by Griatch
parent f9a1d764a4
commit 737441b7e6

View file

@ -196,7 +196,9 @@ class ServerSession(Session):
oob - this should hold a dictionary of oob command calls from
the oob-supporting protocol.
"""
if text:
#explicitly check for None since text can be an empty string, which is
#also valid
if text is not None:
# this is treated as a command input
#text = to_unicode(escape_control_sequences(text), encoding=self.encoding)
# handle the 'idle' command