Kaynağa Gözat

Merge branch 'dev-python' into smart-shooter-merge

rambo 6 ay önce
ebeveyn
işleme
42c31ccd67
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 0
      python/databases.py
  2. 1 1
      python/mcu/DeviceControl.py

+ 1 - 0
python/databases.py

@@ -4,6 +4,7 @@ from typing import Optional
 from sqlalchemy import and_, desc, asc
 from utils.utils_func import check_path
 from model import DeviceConfig, PhotoRecord, SysConfigs, DeviceConfigTabs
+
 check_path("C:/Zhihuiyin")
 # 创建SQLite数据库引擎
 sqlite_file_name = "C:/Zhihuiyin/database.db"

+ 1 - 1
python/mcu/DeviceControl.py

@@ -1227,7 +1227,7 @@ class DeviceControl(BaseClass, metaclass=SingletonType):
         cmd = 1
         device_id = self.device_name_dict[device_name]
         # if device_id != 1:
-        #     print("非MCU设备,禁止处理")
+        #     print("F非MCU设备,禁止处理")
         #     return
         print("正在执行",device_name)
         match device_name: