diff --git a/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py b/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py index 038406f..c3f3ec9 100644 --- a/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py +++ b/gunicorn-logging-extension/src/gunicorn_logging_extension/__init__.py @@ -77,7 +77,11 @@ class Logger(gLogger): defaults = CONFIG_DEFAULTS.copy() defaults["__file__"] = cfg.logconfig defaults["here"] = os.path.dirname(cfg.logconfig) - fileConfig(cfg.logconfig, defaults=defaults, disable_existing_loggers=False) + fileConfig( + cfg.logconfig, + defaults=defaults, + disable_existing_loggers=False, + ) else: msg = "Error: log config '%s' not found" raise RuntimeError(msg % cfg.logconfig)