@@ -155,7 +155,7 @@ class ObjectSsh(ObjectConnection):
print all_data
nc = 1
for ch in character:
- if ch in all_data:
+ if ch is not None and ch in all_data:
stop = True
position = nc
break