Update server.py
This commit is contained in:
parent
f40b83a17c
commit
64cdeb2157
1 changed files with 4 additions and 1 deletions
|
@ -41,7 +41,10 @@ def relay():
|
||||||
found = False
|
found = False
|
||||||
while True:
|
while True:
|
||||||
gemresponse = gemsocket.recv(1)
|
gemresponse = gemsocket.recv(1)
|
||||||
gemraw.append(gemresponse)
|
if len(gemresponse) != 0:
|
||||||
|
gemraw.append(gemresponse[0])
|
||||||
|
else:
|
||||||
|
break
|
||||||
try:
|
try:
|
||||||
if num == 0:
|
if num == 0:
|
||||||
print(gemresponse)
|
print(gemresponse)
|
||||||
|
|
Loading…
Add table
Reference in a new issue