From aa8a0ba3a86ff5dbbdfcd68c72a5e70e1c52e877 Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期二, 07 六月 2022 10:50:50 +0800
Subject: [PATCH] optimize for mq

---
 src/engine/AcquisitionMain.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/engine/AcquisitionMain.py b/src/engine/AcquisitionMain.py
index 4373fa6..ef126b3 100644
--- a/src/engine/AcquisitionMain.py
+++ b/src/engine/AcquisitionMain.py
@@ -12,12 +12,12 @@
 from .ControllThread import ControllThread
 from .MicroWaveUDPThread import MicroWaveUDPThread
 
-# add python path of src to sys.path
-src_path = os.path.join(__file__, *(['..'] * 2))
-src_path = os.path.abspath(src_path)
-sys.path.insert(0, src_path)
+# # add python path of src to sys.path
+# src_path = os.path.join(__file__, *(['..'] * 2))
+# src_path = os.path.abspath(src_path)
+# sys.path.insert(0, src_path)
 
-from protos import aerial_pb2 as pb
+from ..protos import aerial_pb2 as pb
 
 
 IMAGE_WIDTH = 3840

--
Gitblit v1.9.1