From a3eef76beea3fd7c213f3f735d98758f885d6fc7 Mon Sep 17 00:00:00 2001 From: swee Date: Mon, 13 Jan 2025 16:17:34 -0800 Subject: [PATCH] Update server.py --- server.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/server.py b/server.py index 74e4f1b..0d7fd7e 100644 --- a/server.py +++ b/server.py @@ -87,11 +87,9 @@ def relay(): code += f"\n" elif i[0:2] == "=>": temp = " ".join(i[2:].strip().replace(" ", " ").split(" ")) - print(temp) goto = temp.split(" ")[0] prse = urlparse(goto) extra = "" - print(goto) extracomment = goto if prse.netloc == "" and prse.scheme == "": isdir = url[len(url) - 1] == "/" @@ -101,7 +99,6 @@ def relay(): else: tempurl = "/".join(url.split("/")[:-1]) + "/" + goto goto = f"/gem?gemini={tempurl}" - print(goto) elif prse.scheme != "gemini": extra = "" extracomment = f"This link points to an address that isn't gemini ({prse.scheme})"