From 2997c427aadc02038f41df77a1612d891e624fcd Mon Sep 17 00:00:00 2001 From: Shiz Date: Tue, 17 Sep 2024 11:35:06 +0200 Subject: [PATCH] httpconn: remove unused method `respath(name)` --- copyparty/httpconn.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/copyparty/httpconn.py b/copyparty/httpconn.py index a906f582..09366742 100644 --- a/copyparty/httpconn.py +++ b/copyparty/httpconn.py @@ -103,9 +103,6 @@ class HttpConn(object): self.log_src = ("%s \033[%dm%d" % (ip, color, self.addr[1])).ljust(26) return self.log_src - def respath(self, res_name: str) -> str: - return os.path.join(self.E.mod, "web", res_name) - def log(self, msg: str, c: Union[int, str] = 0) -> None: self.log_func(self.log_src, msg, c)