mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Not skipping when self.status = None, but assigning empty string ''
Added addiontional check for checking of the self.status is filled with the show status. If not, debug message is generated and the show is not updated.
This commit is contained in:
parent
5a5b2af676
commit
32a88cf105
@ -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 New Issue
Block a user