mirror of
https://github.com/morpheus65535/bazarr
synced 2024-12-23 08:13:14 +00:00
Fixed requirements.txt installation
This commit is contained in:
parent
039fa5e1ad
commit
0f84ffb9cd
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue