From 23e2626df9fd3cc219eb8b4f612e70d1efe86f5f Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 6 Feb 2022 21:36:04 -0500 Subject: [PATCH] Fixed legendastv issue since rarfile upgrade. #1711 --- libs/subliminal_patch/providers/legendastv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')