don't get unused error
This commit is contained in:
parent
6c027c344e
commit
d8c4de473c
1 changed files with 0 additions and 1 deletions
|
@ -135,7 +135,6 @@ class Server(Resource):
|
||||||
def render_POST(self, request):
|
def render_POST(self, request):
|
||||||
if request.path.startswith(b'/status'):
|
if request.path.startswith(b'/status'):
|
||||||
oshash = request.path.decode().split('/')[-1]
|
oshash = request.path.decode().split('/')[-1]
|
||||||
error = request.args['error']
|
|
||||||
self.update_status(oshash, 'failed')
|
self.update_status(oshash, 'failed')
|
||||||
return self.render_json(request, {})
|
return self.render_json(request, {})
|
||||||
request.setResponseCode(404)
|
request.setResponseCode(404)
|
||||||
|
|
Loading…
Reference in a new issue