mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-06-11 01:14:45 +02:00
fix: leftover old severity references (info→routine, filter dropdown)
This commit is contained in:
parent
49f2838048
commit
2f0cf520fa
3 changed files with 3 additions and 3 deletions
2
meshai/env/usgs.py
vendored
2
meshai/env/usgs.py
vendored
|
|
@ -376,7 +376,7 @@ class USGSStreamsAdapter:
|
|||
flood_status = "Action Stage"
|
||||
|
||||
# Fall back to legacy manual thresholds
|
||||
if severity == "info":
|
||||
if severity == "routine":
|
||||
threshold = self._flood_thresholds.get(site_id, {}).get(param_type)
|
||||
if threshold and value > threshold:
|
||||
severity = "priority"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue