From b3ce09da886c26516ef8778c47fffb0dc4246c79 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 9 Feb 2013 05:02:26 +0000 Subject: [PATCH] isEpisode should be boolean --- pandora/archive/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index f8a9a4c8..7d95fefa 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -151,7 +151,7 @@ class File(models.Model): data['isEpisode'] = data.get('season') != None \ or data.get('episode') != None \ or data.get('episodes') not in ([], None) \ - or (data.get('seriesTitle') and data.get('episodeTitle')) + or (data.get('seriesTitle') != None and data.get('episodeTitle') != None) if data['isEpisode'] and data['seriesYear'] == None: data['seriesYear'] = data['year'] data['type'] = 'unknown'