zhangdongming пре 3 година
родитељ
комит
bb0e685fe0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Controller/SensorGateway/GatewayDeviceController.py

+ 1 - 1
Controller/SensorGateway/GatewayDeviceController.py

@@ -173,7 +173,7 @@ class GatewayDeviceView(View):
                     gateway_sub_qs = GatewaySubDevice.objects.filter(id__in=ids)
                     if gateway_sub_qs.exists():
                         gateway_sub_qs.delete()
-            return response.json(0)
+                return response.json(0)
         except Exception as e:
             print(e)
             return response.json(177, repr(e))