Explorar el Código

Fix the GET request.

Guillaume Ayoub hace 16 años
padre
commit
690a76c3b7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      radicale/__init__.py

+ 1 - 1
radicale/__init__.py

@@ -141,7 +141,7 @@ class CalendarHTTPHandler(server.BaseHTTPRequestHandler):
     @check_rights
     def do_GET(self):
         """Manage GET request."""
-        answer = self._calendar.read().encode(self._encoding)
+        answer = self._calendar.text.encode(self._encoding)
 
         self.send_response(client.OK)
         self.send_header("Content-Length", len(answer))