Parcourir la source

Merge branch 'master' of http://192.168.136.99:3000/SERVER/AnsjerServer

tanghongbin il y a 4 ans
Parent
commit
32b2954226
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Controller/EquipmentInfo.py

+ 1 - 1
Controller/EquipmentInfo.py

@@ -86,7 +86,7 @@ class EquipmentInfo(View):
         try:
             nowTime = int(time.time())
             equipment_info = Equipment_Info(
-                userID=Device_User.objects.get(userID=userID),
+                userID_id=userID,
                 devUid=devUid,
                 Channel=Channel,
                 eventType=eventType,