locky 3 лет назад
Родитель
Сommit
03fbf6f5fb
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Controller/gatewayController.py

+ 1 - 0
Controller/gatewayController.py

@@ -45,6 +45,7 @@ class GatewayView(View):
         now_time = int(time.time())
         device_user_id = '160879593527813800138000'
         try:
+            event_type = int(event_type)
             equipment_info_list.append(EquipmentInfoService.get_equipment_info_obj(
                 now_time,
                 add_time=now_time,