From de4cefdc1ef5be75be6ae58785b9b9db81cfbee9 Mon Sep 17 00:00:00 2001 From: DevTekVE Date: Tue, 11 Jun 2024 11:59:46 +0200 Subject: [PATCH] Update import paths in athena files The changes here correct a misalignment in the import paths in the sunnylinkd.py and manage_sunnylinkd.py files. These updates ensure that system.athena modules are accurately referenced, which is critical for the function of these scripts. --- system/athena/manage_sunnylinkd.py | 2 +- system/athena/sunnylinkd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/athena/manage_sunnylinkd.py b/system/athena/manage_sunnylinkd.py index c785136889..8a912a8a73 100755 --- a/system/athena/manage_sunnylinkd.py +++ b/system/athena/manage_sunnylinkd.py @@ -2,4 +2,4 @@ from system.athena.manage_athenad import manage_athenad if __name__ == '__main__': - manage_athenad("SunnylinkDongleId", "SunnylinkdPid", 'sunnylinkd', 'selfdrive.athena.sunnylinkd') + manage_athenad("SunnylinkDongleId", "SunnylinkdPid", 'sunnylinkd', 'system.athena.sunnylinkd') diff --git a/system/athena/sunnylinkd.py b/system/athena/sunnylinkd.py index 0b784d0371..4150e8a475 100755 --- a/system/athena/sunnylinkd.py +++ b/system/athena/sunnylinkd.py @@ -10,7 +10,7 @@ import os import threading import time -from openpilot.selfdrive.athena.athenad import ws_send, jsonrpc_handler, \ +from openpilot.system.athena.athenad import ws_send, jsonrpc_handler, \ recv_queue, RECONNECT_TIMEOUT_S, UploadQueueCache, upload_queue, cur_upload_items, backoff, ws_manage, log_handler from jsonrpc import dispatcher from websocket import (ABNF, WebSocket, WebSocketException, WebSocketTimeoutException,