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:
parent
7a7e67106a
commit
5b5edaac2f
3 changed files with 9 additions and 9 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue