Skip to content

Commit 8dfc6d4

Browse files
committed
update
1 parent 03446b8 commit 8dfc6d4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clients/client-linux.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ def byte_str(object):
455455
if data.find("You are connecting via") < 0:
456456
data = byte_str(s.recv(1024))
457457
print(data)
458+
monitorServer.clear()
458459
for i in data.split('\n'):
459460
if "monitor" in i and "type" in i and "{" in i and "}" in i:
460461
jdata = json.loads(i[i.find("{"):i.find("}")+1])

clients/client-psutil.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ def byte_str(object):
444444
if data.find("You are connecting via") < 0:
445445
data = byte_str(s.recv(1024))
446446
print(data)
447+
monitorServer.clear()
447448
for i in data.split('\n'):
448449
if "monitor" in i and "type" in i and "{" in i and "}" in i:
449450
jdata = json.loads(i[i.find("{"):i.find("}")+1])

0 commit comments

Comments
 (0)