wct-example: Remove invalid comparisons

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-16 11:07:37 -08:00
parent 75e6d32e3e
commit 160562de80

View File

@@ -136,7 +136,7 @@ def main():
# Now lets do some cli-socket scripting
gui_telnet = pexpect.spawn('telnet %s %s'%(host, clisock))
if (gui_telnet == None):
if gui_telnet is None:
print ("Unable to telnet to %s:%s"%(host,clisock));
exit(1)