mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 20:03:53 +08:00
Remove unused import
This commit is contained in:
@@ -43,7 +43,6 @@ class LogMessageHandler(logging.Handler):
|
||||
def add_logentries_handler(log):
|
||||
"""Function to add the logentries handler to swaglog.
|
||||
This can be used to send logs when logmessaged is not running."""
|
||||
from selfdrive.logmessaged import get_le_handler
|
||||
handler = get_le_handler()
|
||||
handler.setFormatter(SwagFormatter(log))
|
||||
log.addHandler(handler)
|
||||
|
||||
Reference in New Issue
Block a user