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:
commit
43d340bace
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user