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

@ -272,6 +272,12 @@ class TVShow(object):
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