From 669ed069f52e4f5bb95fa85d431ba2cdb6b57429 Mon Sep 17 00:00:00 2001 From: destpstrzy Date: Tue, 26 Nov 2024 14:37:10 +0100 Subject: [PATCH] Fixed a bug introduced in Napiprojekt provider --- custom_libs/subliminal_patch/providers/napiprojekt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_libs/subliminal_patch/providers/napiprojekt.py b/custom_libs/subliminal_patch/providers/napiprojekt.py index 58dcc5571..8fabed885 100644 --- a/custom_libs/subliminal_patch/providers/napiprojekt.py +++ b/custom_libs/subliminal_patch/providers/napiprojekt.py @@ -47,6 +47,8 @@ def __init__(self, only_authors=None, only_real_names=None): self.only_real_names = only_real_names def query(self, language, hash): + if self.only_authors or self.only_real_names: + return None params = { 'v': 'dreambox', 'kolejka': 'false',