Fixed a silly bug introduced in last commit that made telnet connection fail.
This commit is contained in:
parent
5c902ef14f
commit
dbe49bb778
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class TelnetProtocol(Telnet, StatefulTelnetProtocol, Session):
|
||||||
# before the handshakes have had time to finish. Keeping this patch
|
# before the handshakes have had time to finish. Keeping this patch
|
||||||
# until coming up with a more elegant solution /Griatch
|
# until coming up with a more elegant solution /Griatch
|
||||||
from src.utils.utils import delay
|
from src.utils.utils import delay
|
||||||
delay(1, self, self.sessionhandler.connect)
|
delay(1, callback=self.sessionhandler.connect, retval=self)
|
||||||
#self.sessionhandler.connect(self)
|
#self.sessionhandler.connect(self)
|
||||||
|
|
||||||
def enableRemote(self, option):
|
def enableRemote(self, option):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue