def msgloop(): global ipy while not ipy.returncode and not ltmain.stopped(): for m in msgs(): # mw(str(time.time())+'\n','a') # mw(str(m)+'\n\n','a') handleMsg(m) time.sleep(0.01)
def msgloop(): global ipy while not ipy.returncode and not ltmain.stopped(): for m in msgs(): handleMsg(m) time.sleep(0.01)