1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-07 13:51:56 +00:00

all in one

This commit is contained in:
Newnius 2019-12-26 16:42:21 +08:00
parent de32b961e1
commit 155018a7ed

View File

@ -308,10 +308,10 @@ def listen():
def main():
t1 = threading.Thread(target=report())
t2 = threading.Thread(target=listen())
t2.start()
t1.start()
t1.join()
t2.start()
t2.join()
t1.join()
if __name__ == '__main__':