Change status code
This commit is contained in:
parent
b1145c3059
commit
eadf2d46bd
2 changed files with 2 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 5a2882f08e30e4e9b8945d84e53c228ed2cfbeff
|
||||
Subproject commit 39880d1ec72ccfad13a6837960d07e577dc36151
|
|
@ -319,7 +319,7 @@ def getconfig(request, device_id):
|
|||
device = get_object_or_404(Device, id=device_id)
|
||||
|
||||
if not mkfirmware(device, FWDIR):
|
||||
return HttpResponse(status=502)
|
||||
return HttpResponse(status=503)
|
||||
|
||||
sigUpdateDevice(device.serial, None, False)
|
||||
device.update = False
|
||||
|
|
Loading…
Reference in a new issue