Compare commits
2 Commits
d580227f78
...
27a086a5c0
Author | SHA1 | Date |
---|---|---|
Ferdinand Thiessen | 27a086a5c0 | |
Ferdinand Thiessen | bc2fb820f0 |
|
@ -3,4 +3,4 @@ pipeline:
|
|||
image: python:slim
|
||||
commands:
|
||||
- pip install black
|
||||
- black --check --line-length 120 --target-version=py37 .
|
||||
- black --check --line-length 120 --target-version=py39 .
|
||||
|
|
|
@ -56,7 +56,7 @@ def configure_logger():
|
|||
logger_config["handlers"]["wsgi"]["level"] = level
|
||||
|
||||
# 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:
|
||||
# Override with user config
|
||||
update_dict(logger_config, config.get("LOGGING"))
|
||||
|
|
Loading…
Reference in New Issue