Update server.py
This commit is contained in:
parent
6e157e80db
commit
c6d4294f1a
1 changed files with 1 additions and 3 deletions
|
@ -47,9 +47,7 @@ def relay():
|
||||||
print("Non-ordinary type! " + mimetype)
|
print("Non-ordinary type! " + mimetype)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
elif num == 1 and ok and not mimetype in ["text/gemini", ""]:
|
elif num >= 1 and ok and not mimetype in ["text/gemini", ""]:
|
||||||
pass
|
|
||||||
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)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue