Browse Source

Remove unnecessary module prefix

Unrud 9 năm trước cách đây
mục cha
commit
13d652b094
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

@@ -171,7 +171,7 @@ class RequestHandler(wsgiref.simple_server.WSGIRequestHandler):
     def get_environ(self):
         env = super().get_environ()
         # Parent class only tries latin1 encoding
-        env["PATH_INFO"] = urllib.parse.unquote(self.path.split("?", 1)[0])
+        env["PATH_INFO"] = unquote(self.path.split("?", 1)[0])
         return env
 
     def handle(self):