mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Print a warning if the configuration file is not found
This commit is contained in:
parent
847235f6e7
commit
61d063c610
1 changed files with 3 additions and 1 deletions
|
@ -85,7 +85,9 @@ def run():
|
|||
|
||||
# Read in the configuration specified by the command line (if specified)
|
||||
if options.config:
|
||||
config.read(options.config)
|
||||
if not config.read(options.config):
|
||||
log.LOGGER.warning(
|
||||
"Configuration file '%s' not found" % options.config)
|
||||
|
||||
# Update Radicale configuration according to options
|
||||
for option in parser.option_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue