From 5b05b47e59450e0d78b7574c5af143f6992ddcf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 11 Apr 2019 22:07:43 -0400 Subject: [PATCH] Fix for #391. --- bazarr/init.py | 2 +- bazarr/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr/init.py b/bazarr/init.py index dc5e4e72e..248acc087 100644 --- a/bazarr/init.py +++ b/bazarr/init.py @@ -22,7 +22,7 @@ if settings.general.anti_captcha_provider == 'anti-captcha': os.environ["ANTICAPTCHA_CLASS"] = 'AntiCaptchaProxyLess' os.environ["ANTICAPTCHA_ACCOUNT_KEY"] = settings.anticaptcha.anti_captcha_key elif settings.general.anti_captcha_provider == 'death-by-captcha': - os.environ["ANTICAPTCHA_CLASS"] = 'DBCProxyLess' + os.environ["ANTICAPTCHA_CLASS"] = 'DeathByCaptchaProxyLess' os.environ["ANTICAPTCHA_ACCOUNT_KEY"] = ':'.join({settings.deathbycaptcha.username, settings.deathbycaptcha.password}) else: os.environ["ANTICAPTCHA_CLASS"] = '' diff --git a/bazarr/main.py b/bazarr/main.py index ae40466ce..a8c1e8e26 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -1321,7 +1321,7 @@ def save_settings(): os.environ["ANTICAPTCHA_CLASS"] = 'AntiCaptchaProxyLess' os.environ["ANTICAPTCHA_ACCOUNT_KEY"] = settings.anticaptcha.anti_captcha_key elif settings.general.anti_captcha_provider == 'death-by-captcha': - os.environ["ANTICAPTCHA_CLASS"] = 'DBCProxyLess' + os.environ["ANTICAPTCHA_CLASS"] = 'DeathByCaptchaProxyLess' os.environ["ANTICAPTCHA_ACCOUNT_KEY"] = ':'.join( {settings.deathbycaptcha.username, settings.deathbycaptcha.password}) else: