소스 검색

漏拍问题

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

+ 1 - 1
python/mcu/DeviceControl.py

@@ -1480,7 +1480,7 @@ class DeviceControl(BaseClass, metaclass=SingletonType):
                     image_counts += 1
                     # 批量插入
                     image_deal_mode = 0 if action_info == "执行左脚程序" else 1
-                    state,record_id = insert_photo_records(
+                    state,record_id = await insert_photo_records(
                         image_deal_mode=image_deal_mode,
                         goods_art_no=goods_art_no,
                         image_index=idx,