소스 검색

报错解决

rambo 4 달 전
부모
커밋
cd8ed103f7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      python/mcu/capture/smart_shooter_class.py

+ 1 - 1
python/mcu/capture/smart_shooter_class.py

@@ -184,7 +184,7 @@ class SmartShooter(metaclass=SingletonType):
         """
         激活相机预览
         """
-        camera_states, _ = self.GetCameraInfo(is_send=False)
+        camera_states, _ = await self.GetCameraInfo(is_send=False)
         if not camera_states:
             return False, "请先连接相机"
         try: