Fix mypy error in AdminNotifyHandler.emit().

This commit is contained in:
Steve Howell 2017-12-22 15:02:18 -05:00
parent ac6f3373b6
commit c33102f692
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class AdminNotifyHandler(logging.Handler):
logging.Handler.__init__(self)
def emit(self, record: logging.LogRecord) -> None:
report = {}
report = {} # type: Dict[str, Any]
try:
report['node'] = platform.node()