summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-04-22 08:25:33 -0400
committerGitHub <[email protected]>2023-04-22 08:25:33 -0400
commit0f84ffb9cd464dbbeae5e00885494c97fac4dd4a (patch)
tree9e762d5e8db21ca49c02f1b8a80b019d05e9a1df
parent039fa5e1ad278b58546a51d246622f15ce35fe8e (diff)
downloadbazarr-1.2.1.tar.gz
bazarr-1.2.1.zip
Fixed requirements.txt installationv1.2.1-beta.19v1.2.1
-rw-r--r--bazarr/init.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bazarr/init.py b/bazarr/init.py
index f0e06416f..25d7e1844 100644
--- a/bazarr/init.py
+++ b/bazarr/init.py
@@ -10,7 +10,6 @@ import time
import rarfile
from dogpile.cache.region import register_backend as register_cache_backend
-from subliminal_patch.extensions import provider_registry
from app.config import settings, configure_captcha_func, get_array_from
from app.get_args import args
@@ -203,6 +202,7 @@ with open(os.path.normpath(os.path.join(args.config_dir, 'config', 'config.ini')
# Remove deprecated providers from enabled providers in config.ini
+from subliminal_patch.extensions import provider_registry # noqa E401
existing_providers = provider_registry.names()
enabled_providers = get_array_from(settings.general.enabled_providers)
settings.general.enabled_providers = str([x for x in enabled_providers if x in existing_providers])