Explorar o código

添加设备旧接口不查询绑定过的设备类型

peng %!s(int64=2) %!d(string=hai) anos
pai
achega
0c51f7c232
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/EquipmentManager.py

+ 1 - 1
Controller/EquipmentManager.py

@@ -426,7 +426,7 @@ def addInterface(request):
                 if is_bind.exists():
                 if is_bind.exists():
                     primaryUserID = is_bind[0]['primaryUserID']
                     primaryUserID = is_bind[0]['primaryUserID']
                     primaryMaster = is_bind[0]['primaryMaster']
                     primaryMaster = is_bind[0]['primaryMaster']
-                    Type = is_bind[0]['Type']
+                    # Type = is_bind[0]['Type']
                     isShare = True
                     isShare = True
 
 
                 isusermain = False
                 isusermain = False