Update server.py
This commit is contained in:
parent
72cfcfbdd1
commit
f7ef958cf4
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ def relay():
|
||||||
elif num >= 2 and ok and not mimetype in ["text/gemini", ""]:
|
elif num >= 2 and ok and not mimetype in ["text/gemini", ""]:
|
||||||
for i in gemresponse:
|
for i in gemresponse:
|
||||||
gemraw.append(i)
|
gemraw.append(i)
|
||||||
if mimetype in ["text/gemini", ""] and gemresponse.decode() != "":
|
if ok and mimetype in ["text/gemini", ""] and gemresponse.decode() != "":
|
||||||
received += gemresponse.decode()
|
received += gemresponse.decode()
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Reference in a new issue