def offsetz(z): if not driveboard.status()['ready']: bottle.abort(400, "Machine not ready.") driveboard.offset(z=z) return '{}'
def offsetz(z): if not driveboard.status()['ready']: bottle.abort(400, "Machine not ready.") driveboard.offset(z=z) return '{}'