From a6179bf3b029619286edbc1a7746091d0d254d7b Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Mon, 8 Jul 2024 00:19:55 +0200 Subject: [PATCH] fix: prowlarr --- comet/utils/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/comet/utils/models.py b/comet/utils/models.py index e09b4ae..0293dbd 100644 --- a/comet/utils/models.py +++ b/comet/utils/models.py @@ -46,6 +46,7 @@ class ConfigModel(BaseModel): @field_validator("indexers") def check_indexers(cls, v, values): + settings.INDEXER_MANAGER_INDEXERS = [indexer.replace(" ", "_").lower() for indexer in settings.INDEXER_MANAGER_INDEXERS] # to equal webui valid_indexers = [ indexer for indexer in v if indexer in settings.INDEXER_MANAGER_INDEXERS ]