diff --git a/server.py b/server.py index 69d4e3b..31b5b31 100644 --- a/server.py +++ b/server.py @@ -51,7 +51,7 @@ def relay(): elif num >= 2 and ok and not mimetype in ["text/gemini", ""]: for i in gemresponse: gemraw.append(i) - if mimetype in ["text/gemini", ""] and gemresponse.decode() != "": + if ok and mimetype in ["text/gemini", ""] and gemresponse.decode() != "": received += gemresponse.decode() else: break