1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Improve documentation

This commit is contained in:
Unrud 2020-01-12 23:32:28 +01:00
parent 6202257fc2
commit 88a0af8ba1
25 changed files with 207 additions and 76 deletions

View file

@ -18,9 +18,10 @@
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
"""
Radicale WSGI application.
Entry point for external WSGI servers (like uWSGI or Gunicorn).
Can be used with an external WSGI server or the built-in server.
Configuration files can be specified in the environment variable
``RADICALE_CONFIG``.
"""
@ -57,6 +58,7 @@ def _init_application(config_path, wsgi_errors):
def application(environ, start_response):
"""Entry point for external WSGI servers."""
config_path = environ.get("RADICALE_CONFIG",
os.environ.get("RADICALE_CONFIG"))
if _application is None: