Ver Fonte

报错解决

rambo há 4 meses atrás
pai
commit
cd8ed103f7
1 ficheiros alterados com 1 adições e 1 exclusões
  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: