Updated client/client.py
This commit is contained in:
parent
dc1ccbb231
commit
0547d38d69
|
|
@ -65,9 +65,9 @@ class Client:
|
||||||
#r = requests.post(self.info_url)
|
#r = requests.post(self.info_url)
|
||||||
ws.send(payload="")
|
ws.send(payload="")
|
||||||
r = ws.recv()
|
r = ws.recv()
|
||||||
if last_try == r.json():
|
if last_try == eval(r):
|
||||||
continue
|
continue
|
||||||
last_try = r.json()
|
last_try = eval(r)
|
||||||
# For windows clear command its cls
|
# For windows clear command its cls
|
||||||
# For linux clear command its clear
|
# For linux clear command its clear
|
||||||
if OS == "Linux":
|
if OS == "Linux":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user