From e7f9bed8c6ea0aada219cd6bc7d6c52738e26aaf Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 16 Jan 2020 21:29:13 +0100 Subject: [PATCH] fix errore subtitletools --- platformcode/subtitletools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/subtitletools.py b/platformcode/subtitletools.py index fa55ddb7..bd30ff93 100644 --- a/platformcode/subtitletools.py +++ b/platformcode/subtitletools.py @@ -251,7 +251,7 @@ def searchSubtitle(item): def saveSubtitleName(item): - if item.show in item.title: + if not item.show or item.show in item.title: title = item.title else: title = item.show + " - " + item.title