Skip to content

Commit

Permalink
get CALIBRATION_EXPIRATION_LIMIT as int.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed Mar 14, 2024
1 parent 16366c7 commit 15d63d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scos_actions/calibration/sensor_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def update(

def expired(self) -> bool:
env = Env()
time_limit = env("CALIBRATION_EXPIRATION_LIMIT", default=None)
time_limit = env.int("CALIBRATION_EXPIRATION_LIMIT", default=None)
if time_limit is None:
return False
elif self.calibration_data is None:
Expand Down

0 comments on commit 15d63d8

Please sign in to comment.