Update server.py
This commit is contained in:
parent
87141fbb18
commit
57eaf3ee57
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ def relay():
|
|||
gemresponse = gemsocket.recv(2048)
|
||||
try:
|
||||
if num == 0:
|
||||
print(gemresponse)
|
||||
try:
|
||||
mimetype = gemresponse.decode().replace("\r","").split("\n")[0].split(" ")[1].split(";")[0]
|
||||
ok = gemresponse.decode().replace("\r","").split("\n")[0].split(" ")[0][0] == "2"
|
||||
|
|
Loading…
Add table
Reference in a new issue