From 26e978b14b2289fa189a789f6f2c03570c55eb08 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Mon, 14 Jun 2021 19:59:26 -0400 Subject: Fixed Regielive provider #1438 --- libs/subliminal_patch/providers/regielive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/subliminal_patch/providers/regielive.py b/libs/subliminal_patch/providers/regielive.py index 357ef89d9..16bbdf2b0 100644 --- a/libs/subliminal_patch/providers/regielive.py +++ b/libs/subliminal_patch/providers/regielive.py @@ -91,7 +91,7 @@ class RegieLiveProvider(Provider): response = self.session.post(self.url, data=payload, headers=self.headers) logger.info(response.json()) subtitles = [] - if response.json()['cod'] == '200': + if response.json()['cod'] == 200: results_subs = response.json()['rezultate'] for film in results_subs: for sub in results_subs[film]['subtitrari']: -- cgit v1.2.3