mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-06 14:47:35 +03:00
Fix FCGI and WSGI scripts
This commit is contained in:
parent
7a7e67106a
commit
5b5edaac2f
3 changed files with 9 additions and 9 deletions
|
@ -41,7 +41,7 @@ def configure_from_file(filename, debug, logger):
|
|||
def start(name="radicale", filename=None, debug=False):
|
||||
"""Start the logging according to the configuration."""
|
||||
logger = logging.getLogger(name)
|
||||
if os.path.exists(filename):
|
||||
if filename and os.path.exists(filename):
|
||||
# Configuration taken from file
|
||||
configure_from_file(logger, filename, debug)
|
||||
# Reload config on SIGHUP (UNIX only)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue