Fix Live/Commentary Cleaner missing _get_settings method

This commit is contained in:
Broque Thomas 2026-04-06 07:45:07 -07:00
parent d16aaab0aa
commit 1fb66b711d

View file

@ -87,6 +87,14 @@ class LiveCommentaryCleanerJob(RepairJob):
}
auto_fix = False
def _get_settings(self, context: JobContext) -> dict:
if not context.config_manager:
return self.default_settings.copy()
cfg = context.config_manager.get(f'repair.jobs.{self.job_id}.settings', {})
merged = self.default_settings.copy()
merged.update(cfg)
return merged
def scan(self, context: JobContext) -> JobResult:
result = JobResult()