From 152e5494d3bcffb4bf6aebb46b31c6d9d2561d16 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Mon, 24 Feb 2014 20:05:14 +0100 Subject: [PATCH] Use flup or flipflop in fcgi script --- radicale.fcgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/radicale.fcgi b/radicale.fcgi index 6f493da..01a3c07 100755 --- a/radicale.fcgi +++ b/radicale.fcgi @@ -24,7 +24,10 @@ Launch a Radicale FastCGI server according to configuration. """ -from flup.server.fcgi import WSGIServer +try: + from flup.server.fcgi import WSGIServer +except ImportError: + from flipflop import WSGIServer import radicale