From ede2fbc99ae902d6bb6fdf90a497147c7d15b164 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 9 May 2013 16:05:23 +0000 Subject: [PATCH] dont delete subtitles except for 0xdb, needs to be fixed by moving parts by offset --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index b4b90fd1e..d359d7e7d 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -1299,7 +1299,7 @@ class Item(models.Model): def load_subtitles(self): subtitles = utils.get_by_key(settings.CONFIG['layers'], 'isSubtitles', True) - if not subtitles: + if not settings.USE_IMDB or not subtitles: return False with transaction.commit_on_success(): layer = subtitles['id']