mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-08 11:03:38 +00:00
Fixes error: SHOWUPDATER: local variable 'cur_indexerid' referenced before assignment
This commit is contained in:
parent
2230420720
commit
164724a63d
1 changed files with 3 additions and 2 deletions
|
@ -272,6 +272,8 @@ class TVShow(object):
|
||||||
|
|
||||||
def should_update(self, update_date=datetime.date.today()):
|
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!
|
# In some situations self.status = None.. need to figure out where that is!
|
||||||
if not self.status:
|
if not self.status:
|
||||||
self.status = ''
|
self.status = ''
|
||||||
|
@ -283,7 +285,6 @@ class TVShow(object):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# run logic against the current show latest aired and next unaired data to see if we should bypass 'Ended' status
|
# 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)
|
graceperiod = datetime.timedelta(days=30)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue