Compare commits

..

1 Commits

2 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,4 @@ pipeline:
image: python:slim image: python:slim
commands: commands:
- pip install black - pip install black
- black --check --line-length 120 --target-version=py39 . - black --check --line-length 120 --target-version=py37 .

View File

@ -56,7 +56,7 @@ def configure_logger():
logger_config["handlers"]["wsgi"]["level"] = level logger_config["handlers"]["wsgi"]["level"] = level
# Read default config # Read default config
logger_config = toml.load(Path(__file__).parent / "logging.toml") logger_config = toml.load(Path(__file__).parent /"logging.toml")
if "LOGGING" in config: if "LOGGING" in config:
# Override with user config # Override with user config
update_dict(logger_config, config.get("LOGGING")) update_dict(logger_config, config.get("LOGGING"))