File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff 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 ])
Original file line number Diff line number Diff 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 ])
You can’t perform that action at this time.
0 commit comments