zhangdongming 3 vuotta sitten
vanhempi
commit
bb0e685fe0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)
                     gateway_sub_qs = GatewaySubDevice.objects.filter(id__in=ids)
                     if gateway_sub_qs.exists():
                     if gateway_sub_qs.exists():
                         gateway_sub_qs.delete()
                         gateway_sub_qs.delete()
-            return response.json(0)
+                return response.json(0)
         except Exception as e:
         except Exception as e:
             print(e)
             print(e)
             return response.json(177, repr(e))
             return response.json(177, repr(e))