1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Update comingEpisodes.tmpl to prevent a 'NotFound' error for cur_ep_enddate

This commit is contained in:
Scott D. Barker 2014-09-16 22:11:21 -07:00
parent e3db9b8c93
commit f3c1fa6b61

View File

@ -287,6 +287,7 @@
#set $today_header = True
#end if
#if $runtime:
#set $cur_ep_enddate = $cur_result["localtime"] + datetime.timedelta(minutes=$runtime)
#if $cur_ep_enddate < $today:
#set $show_div = "ep_listing listing_overdue"
#elif $cur_ep_airdate >= $next_week.date():