mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
wct-example: Remove invalid comparisons
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user