mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-05 14:17:35 +03:00
Pylint
This commit is contained in:
parent
18f5c334f1
commit
c4f2587fd9
3 changed files with 21 additions and 3 deletions
|
@ -36,10 +36,10 @@ LOGGER = logging.getLogger()
|
|||
|
||||
|
||||
def start():
|
||||
"""Start the logging according to the configuration."""
|
||||
filename = os.path.expanduser(config.get("logging", "config"))
|
||||
debug = config.getboolean("logging", "debug")
|
||||
|
||||
"""Start the logging according to the configuration."""
|
||||
if os.path.exists(filename):
|
||||
# Configuration taken from file
|
||||
logging.config.fileConfig(filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue