emails: reduce warning logs on pre-mailer.
This commit is contained in:
parent
7a462891c6
commit
3708c3660d
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ class EmailNotificationModel(BaseModel):
|
|||
}
|
||||
|
||||
premailer_instance = premailer.Premailer(
|
||||
cssutils_logging_level=logging.WARNING,
|
||||
cssutils_logging_level=logging.ERROR,
|
||||
cssutils_logging_handler=logging.getLogger().handlers[0]
|
||||
if logging.getLogger().handlers else None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue