1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-20 21:16:51 +00:00

FIX:(#1493) Series were not getting indicated as being in an 'Ended' status on main page correctly

This commit is contained in:
evilhero 2016-12-19 17:00:27 -05:00
parent 9340cf8cf5
commit 2d55f68f2e

View file

@ -1325,9 +1325,10 @@ def havetotals(refreshit=None):
c_date = datetime.date(int(latestdate[:4]), int(latestdate[5:7]), 1)
n_date = datetime.date.today()
recentchk = (n_date - c_date).days
if comic['NewPublish']:
if comic['NewPublish'] is True:
recentstatus = 'Continuing'
else:
#do this just incase and as an extra measure of accuracy hopefully.
if recentchk < 55:
recentstatus = 'Continuing'
else: