mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-05 17:05:03 -05:00
Fixes error: SHOWUPDATER: local variable 'cur_indexerid' referenced before assignment
This commit is contained in:
parent
2230420720
commit
164724a63d
@ -271,7 +271,9 @@ class TVShow(object):
|
||||
return self.episodes[season][episode]
|
||||
|
||||
def should_update(self, update_date=datetime.date.today()):
|
||||
|
||||
|
||||
cur_indexerid = self.indexerid
|
||||
|
||||
# In some situations self.status = None.. need to figure out where that is!
|
||||
if not self.status:
|
||||
self.status = ''
|
||||
@ -283,7 +285,6 @@ class TVShow(object):
|
||||
return True
|
||||
|
||||
# run logic against the current show latest aired and next unaired data to see if we should bypass 'Ended' status
|
||||
cur_indexerid = self.indexerid
|
||||
|
||||
graceperiod = datetime.timedelta(days=30)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user