cleanup logout 9800

This commit is contained in:
Chuck SmileyRekiere
2020-09-18 10:00:09 -06:00
parent 9df8c5a507
commit 3eb751c83d
2 changed files with 1 additions and 9 deletions

View File

@@ -935,7 +935,7 @@ def main():
if (command is None):
if args.series == "9800":
logg.info("9800 series command completed by earlier logic")
logg.info("9800 series command completed by earlier logic: {}".format(command))
else:
logg.info("No command specified, going to log out.")
else:
@@ -960,13 +960,6 @@ def main():
except:
logg.info("9800 exception on exit")
sleep(1)
try:
logg.info("9800 send carriage return and linefeed")
egg.sendline("\r\n")
sleep(0.1)
except:
logg.info("9800 exception on carriage return and linefeed")
break
if i == 2:
egg.sendline("end")
sleep(0.2)