mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
black...
This commit is contained in:
parent
5794f5a01b
commit
5358a104a5
@ -866,7 +866,7 @@ def get_bandwidth_stats() -> dict[str, dict]:
|
||||
try:
|
||||
if re.search("(^ffmpeg|\/go2rtc)/([0-9]+)/", stats[0]):
|
||||
process = stats[0].split("/")
|
||||
usages[process[len(process)-2]] = {
|
||||
usages[process[len(process) - 2]] = {
|
||||
"bandwidth": round(float(stats[2]), 1),
|
||||
}
|
||||
except:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user