Hello world, the python script is stuck on the line :
self.tn = telnetlib.Telnet(self.HOST, self.PORT)
I’m using appdaemond to control a light by TELNET and in the initialize function, it freeze on this command and never reach the “end initialize”. Any idea?
The HOST and PORT are good
the code in question :
def initialize(self):
self.HOST = "192.168.137.1"
self.PORT = 3636
self.tn = telnetlib.Telnet(self.HOST,self.PORT)
self.tn.close()
self.log("end initialize")