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
1 changed files with 1 additions and 0 deletions

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():