1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Python 3 support and minor fixes.

This commit is contained in:
Guillaume Ayoub 2010-01-15 16:04:03 +01:00
parent 4a0d3936e8
commit 4ee09cf817
11 changed files with 66 additions and 70 deletions

View file

@ -30,13 +30,10 @@ Radicale Server entry point.
Launch the Radicale Serve according to the configuration.
"""
import sys
import BaseHTTPServer
import radicale
if radicale.config.get("server", "type") == "http":
server = BaseHTTPServer.HTTPServer(
server = radicale.server.HTTPServer(
("", radicale.config.getint("server", "port")),
radicale.CalendarHandler)
server.serve_forever()