Fixed a silly bug introduced in last commit that made telnet connection fail.

This commit is contained in:
Griatch 2014-02-16 00:24:47 +01:00
parent 5c902ef14f
commit dbe49bb778

View file

@ -54,7 +54,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
# before the handshakes have had time to finish. Keeping this patch
# until coming up with a more elegant solution /Griatch
from src.utils.utils import delay
delay(1, self, self.sessionhandler.connect)
delay(1, callback=self.sessionhandler.connect, retval=self)
#self.sessionhandler.connect(self)
def enableRemote(self, option):