diff --git a/selfdrive/locationd/calibrationd.py b/selfdrive/locationd/calibrationd.py index f2a534d370f3c2..43b36510da5001 100755 --- a/selfdrive/locationd/calibrationd.py +++ b/selfdrive/locationd/calibrationd.py @@ -79,12 +79,12 @@ def __init__(self, param_put=False): def reset(self, rpy_init=RPY_INIT, valid_blocks=0, smooth_from=None): if not np.isfinite(rpy_init).all(): - self.rpy = RPY_INIT.copy() + self.rpy = RPY_INIT.copy() else: self.rpy = rpy_init.copy() if not np.isfinite(valid_blocks) or valid_blocks < 0: - self.valid_blocks = 0 + self.valid_blocks = 0 else: self.valid_blocks = valid_blocks