From 8b04941a3f71f49b661205f687c005a0b5f96d08 Mon Sep 17 00:00:00 2001 From: Bazarr Date: Wed, 6 May 2020 11:04:52 +0100 Subject: [PATCH] replaced uploader from to anonymous when not found --- libs/subliminal_patch/providers/legendasdivx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/subliminal_patch/providers/legendasdivx.py b/libs/subliminal_patch/providers/legendasdivx.py index 53734ff68..e9f505bdf 100644 --- a/libs/subliminal_patch/providers/legendasdivx.py +++ b/libs/subliminal_patch/providers/legendasdivx.py @@ -219,7 +219,7 @@ class LegendasdivxProvider(Provider): # get subtitle uploader sub_header = _subbox.find("div", {"class" :"sub_header"}) - uploader = sub_header.find("a").text if sub_header else '' + uploader = sub_header.find("a").text if sub_header else 'anonymous' exact_match = False if video.name.lower() in description.lower():