mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-28 19:40:54 +00:00
Mark internal configuration options and sections with underscore
This commit is contained in:
parent
0bda1f4c16
commit
5371be2b39
12 changed files with 58 additions and 63 deletions
|
@ -200,8 +200,8 @@ def serve(configuration, shutdown_socket):
|
|||
logger.info("Starting Radicale")
|
||||
# Copy configuration before modifying
|
||||
configuration = configuration.copy()
|
||||
configuration.update({"internal": {"internal_server": "True"}}, "server",
|
||||
internal=True)
|
||||
configuration.update({"_internal": {"internal_server": "True"}}, "server",
|
||||
privileged=True)
|
||||
|
||||
use_ssl = configuration.get("server", "ssl")
|
||||
server_class = ParallelHTTPSServer if use_ssl else ParallelHTTPServer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue