FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit b8555cd1 authored by J.W. Smith's avatar J.W. Smith
Browse files

fix: Align CLI email option with email logger

parent f5036150
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,7 @@ import sys
from flagdir import jobStatus # created by jws52
# submodules of this project
import BufferingSMTPHandler
import EnvSuitPipeline as esp
import NAMEPreProcessor as npp
import ProcessorComponents
......@@ -275,7 +276,7 @@ def parse_and_check_args(todayString):
if not args.live:
# remove the log handler that would send emails
logger.handlers = [h for h in logger.handlers if not isinstance(h,logging.handlers.SMTPHandler)]
logger.handlers = [h for h in logger.handlers if not isinstance(h,BufferingSMTPHandler.BufferingSMTPHandler)]
if not isinstance(args.config_paths,list):
logger.error('Expecting a list of config paths')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment