Commit 6ea67b35 authored by echel0n's avatar echel0n
Browse files

Pre-Release v9.3.22.dev3

parent d2f59fc8
# Changelog
- * 1be8ad3 - 2018-05-15: Pre-Release v9.3.22.dev2
- * 8015e16 - 2018-05-15: Pre-Release v9.3.22.dev3
- * d2f59fc - 2018-05-15: Pre-Release v9.3.22.dev2
- * a2da132 - 2018-05-15: Fixed KeyError when trying to display a show
- * 7b39213 - 2018-05-15: Added labels to better explain options for editing shows
- * 2476478 - 2018-05-13: Pre-Release v9.3.22.dev1
......
......@@ -1264,21 +1264,19 @@ class Home(WebHandler):
for curEp in episodeResults:
curEpCat = showObj.getOverview(int(curEp['status'] or -1))
if curEp['airdate'] != 1:
today = datetime.datetime.now().replace(tzinfo=sickrage.app.tz)
airDate = datetime.datetime.fromordinal(curEp['airdate'])
if airDate.year >= 1970 or showObj.network:
airDate = srDateTime(tz_updater.parse_date_time(curEp['airdate'], showObj.airs, showObj.network),
if curEp['airdate'] != 1:
today = datetime.datetime.now().replace(tzinfo=sickrage.app.tz)
airDate = datetime.datetime.fromordinal(curEp['airdate'])
if airDate.year >= 1970 or showObj.network:
airDate = srDateTime(tz_updater.parse_date_time(curEp['airdate'], showObj.airs, showObj.network),
convert=True).dt
if curEpCat == Overview.WANTED and airDate < today:
curEpCat = Overview.MISSED
if curEpCat:
epCats[str(curEp['season']) + "x" + str(curEp['episode'])] = curEpCat
if curEpCat == Overview.WANTED and airDate < today:
curEpCat = Overview.MISSED
epCounts[curEpCat] += 1
if curEpCat:
epCats[str(curEp['season']) + "x" + str(curEp['episode'])] = curEpCat
epCounts[curEpCat] += 1
def titler(x):
return (remove_article(x), x)[not x or sickrage.app.config.sort_article]
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment