Update
This commit is contained in:
parent
cbfd5156a3
commit
eb5fdbda5b
7
list.py
7
list.py
@ -1,4 +1,4 @@
|
||||
mode = 0 # CHANGE ME
|
||||
mode = 1 # CHANGE ME
|
||||
# 0 - client mode
|
||||
# 1 - server mode
|
||||
|
||||
@ -52,12 +52,7 @@ def server_listen(conn_temp):
|
||||
if data == 'get':
|
||||
send = conv_list()
|
||||
conn_temp.send(send.encode())
|
||||
print(data)
|
||||
else:
|
||||
print(type(data))
|
||||
print(data[0])
|
||||
exit()
|
||||
|
||||
list_info.append([str(data), datetime.now()])
|
||||
|
||||
# Clear list
|
||||
|
Loading…
Reference in New Issue
Block a user