1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Merge pull request #830 from KontiSR/showstatus_missing

Not skipping when self.status = None, but assigning empty string ''
This commit is contained in:
adam111316 2014-09-25 14:48:32 +08:00
commit 43d340bace

View File

@ -271,7 +271,13 @@ class TVShow(object):
return self.episodes[season][episode]
def should_update(self, update_date=datetime.date.today()):
# In some situations self.status = None.. need to figure out where that is!
if not self.status:
self.status = ''
logger.log("Status missing for showid: [%s] with status: [%s]" %
(cur_indexerid, self.status), logger.DEBUG)
# if show is not 'Ended' always update (status 'Continuing' or '')
if 'Ended' not in self.status:
return True