mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00: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
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue