mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
black:(
This commit is contained in:
parent
f31fbbb2e8
commit
4055525bea
@ -869,7 +869,7 @@ def get_bandwidth_stats() -> dict[str, dict]:
|
|||||||
):
|
):
|
||||||
process = stats[0].split("/")
|
process = stats[0].split("/")
|
||||||
usages[process[len(process) - 2]] = {
|
usages[process[len(process) - 2]] = {
|
||||||
"bandwidth": round(float(stats[1])+float(stats[2]), 1),
|
"bandwidth": round(float(stats[1]) + float(stats[2]), 1),
|
||||||
}
|
}
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user