@@ -56,9 +56,13 @@ class ObjectTelnet(ObjectConnection):
else:
self.connection_old()
print("fin-----")
+ nc = 0
while self.QUIT:
+ if nc == 20:
+ self.QUIT = False
# send quit to terminal until exit confirmation
self.command_quit(self.olt.get_write_exit())
+ contador += 1
self.tn.close()
self.save_log()
exit(self.RUN_OK)