From de572c3755729ee61d257f794d2854845a796872 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Thu, 13 Jan 2022 06:40:02 +0800 Subject: [PATCH] calibrationd: fix indentation (#23502) --- selfdrive/locationd/calibrationd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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