1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Fix FCGI and WSGI scripts

This commit is contained in:
Guillaume Ayoub 2016-07-01 10:28:51 +02:00
parent 7a7e67106a
commit 5b5edaac2f
3 changed files with 9 additions and 9 deletions

View file

@ -24,11 +24,11 @@ Launch a Radicale FastCGI server according to configuration.
"""
import os
import radicale
from flipflop import WSGIServer
from radicale import Application, config, log
configuration = radicale.config.load([os.environ.get("RADICALE_CONFIG")])
logger = radicale.log.start()
WSGIServer(radicale.Application(configuration, logger)).run()
configuration = config.load([os.environ.get("RADICALE_CONFIG")])
logger = log.start()
WSGIServer(Application(configuration, logger)).run()