Remove unused import

old-commit-hash: 585a6fe2d8
commatwo_master
Willem Melching 5 years ago
parent 0631514fe6
commit c740ed0edf
  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