Remove unused import

pull/1360/head
Willem Melching 5 years ago
parent 912c3ab879
commit 585a6fe2d8
  1. 1
      selfdrive/swaglog.py

@ -43,7 +43,6 @@ class LogMessageHandler(logging.Handler):
def add_logentries_handler(log): def add_logentries_handler(log):
"""Function to add the logentries handler to swaglog. """Function to add the logentries handler to swaglog.
This can be used to send logs when logmessaged is not running.""" This can be used to send logs when logmessaged is not running."""
from selfdrive.logmessaged import get_le_handler
handler = get_le_handler() handler = get_le_handler()
handler.setFormatter(SwagFormatter(log)) handler.setFormatter(SwagFormatter(log))
log.addHandler(handler) log.addHandler(handler)

Loading…
Cancel
Save