mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 03:00:18 +02:00
fix(tracking): review 7 - rescan on cleanup, non-finite Health values
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4937caf310
commit
8fb00b263c
3 files changed
+32
-3
No files matched your search
@@ -139,7 +139,7 @@ def read_health(path, start, end):
|
||||
try:
|
||||
when = parse_time(element.get("startDate") or "")
|
||||
value = round(float(element.get("value") or ""))
|
||||
except ValueError:
|
||||
except (ValueError, OverflowError):
|
||||
continue
|
||||
if start <= when <= end:
|
||||
samples.append((when, value))
|
||||
|
||||
Reference in new issue
Block a user