except:
pass
if index is not 0:
- print("ERROR: luser%s did not receive expected string:\n\n%s"
- % (conversant, question))
+ print("ERROR: luser%s did not receive expected string:\n\n%s\n\n"
+ "Check the end of capture_%s.log for received data."
+ % (conversant, question, conversant))
success = False
break
print("luser%s sending: %s" % (conversant, answer))
lusers[conversant].write(("%s\r\n" % answer).encode("utf-8"))
captures[conversant] += "%s\r\n" % answer
+ if not success:
+ break
for conversant in range(len(captures)):
try:
captures[conversant] += lusers[