mirror of
https://github.com/evilhero/mylar
synced 2025-02-21 21:46:54 +00:00
FIX:(#1493) Series were not getting indicated as being in an 'Ended' status on main page correctly
This commit is contained in:
parent
9340cf8cf5
commit
2d55f68f2e
1 changed files with 2 additions and 1 deletions
|
@ -1325,9 +1325,10 @@ def havetotals(refreshit=None):
|
||||||
c_date = datetime.date(int(latestdate[:4]), int(latestdate[5:7]), 1)
|
c_date = datetime.date(int(latestdate[:4]), int(latestdate[5:7]), 1)
|
||||||
n_date = datetime.date.today()
|
n_date = datetime.date.today()
|
||||||
recentchk = (n_date - c_date).days
|
recentchk = (n_date - c_date).days
|
||||||
if comic['NewPublish']:
|
if comic['NewPublish'] is True:
|
||||||
recentstatus = 'Continuing'
|
recentstatus = 'Continuing'
|
||||||
else:
|
else:
|
||||||
|
#do this just incase and as an extra measure of accuracy hopefully.
|
||||||
if recentchk < 55:
|
if recentchk < 55:
|
||||||
recentstatus = 'Continuing'
|
recentstatus = 'Continuing'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue