aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2022-02-06 21:36:04 -0500
committermorpheus65535 <[email protected]>2022-02-06 21:36:04 -0500
commit23e2626df9fd3cc219eb8b4f612e70d1efe86f5f (patch)
tree38ff371dbbe712dd50a130c4c3095105e8746ffc
parent4fca9e86afe6eaa43d60a2dccab096dcc1636071 (diff)
downloadbazarr-23e2626df9fd3cc219eb8b4f612e70d1efe86f5f.tar.gz
bazarr-23e2626df9fd3cc219eb8b4f612e70d1efe86f5f.zip
Fixed legendastv issue since rarfile upgrade. #1711v1.0.3-beta.27
-rw-r--r--libs/subliminal_patch/providers/legendastv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/providers/legendastv.py b/libs/subliminal_patch/providers/legendastv.py
index 6ee07ee11..318c9a83d 100644
--- a/libs/subliminal_patch/providers/legendastv.py
+++ b/libs/subliminal_patch/providers/legendastv.py
@@ -77,7 +77,7 @@ class LegendasTVProvider(_LegendasTVProvider):
# Provider needs UNRAR installed. If not available raise ConfigurationError
try:
- rarfile.custom_check([rarfile.UNRAR_TOOL], True)
+ rarfile.tool_setup()
except rarfile.RarExecError:
raise ConfigurationError('UNRAR tool not available')