summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVitiko <[email protected]>2024-07-26 18:59:40 -0400
committerVitiko <[email protected]>2024-07-26 18:59:40 -0400
commite4429e1a412eea4898c03698a5fe92582c6239eb (patch)
tree1b6b1250f5906555ee7d74d8959f739149d2c10f
parent2658638f384aac50a47d6fe5c0264171ae9bcb16 (diff)
downloadbazarr-e4429e1a412eea4898c03698a5fe92582c6239eb.tar.gz
bazarr-e4429e1a412eea4898c03698a5fe92582c6239eb.zip
no log: Fix #2578
-rw-r--r--custom_libs/subliminal_patch/providers/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom_libs/subliminal_patch/providers/utils.py b/custom_libs/subliminal_patch/providers/utils.py
index 2feaecea2..86fee237f 100644
--- a/custom_libs/subliminal_patch/providers/utils.py
+++ b/custom_libs/subliminal_patch/providers/utils.py
@@ -65,7 +65,7 @@ def _get_matching_sub(
guess = guessit(sub_name, options=guess_options)
matched_episode_num = guess.get("episode")
- if matched_episode_num:
+ if not matched_episode_num:
logger.debug("No episode number found in file: %s", sub_name)
if episode_title is not None: