mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix(transfer): expire stale jobs and deduplicate diagnostics
This commit is contained in:
@@ -114,11 +114,14 @@ class DoctorReport:
|
||||
"warn": 0,
|
||||
"error": 0,
|
||||
"fixed": 0,
|
||||
"advisory": 0,
|
||||
}
|
||||
for finding in self.findings:
|
||||
counts[finding.severity.value] += 1
|
||||
if finding.fixed:
|
||||
counts["fixed"] += 1
|
||||
elif not finding.affects_report_status:
|
||||
counts["advisory"] += 1
|
||||
return counts
|
||||
|
||||
def exit_code(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user