From f3c1fa6b61102b041595023b6018d5336c11eb18 Mon Sep 17 00:00:00 2001 From: "Scott D. Barker" Date: Tue, 16 Sep 2014 22:11:21 -0700 Subject: [PATCH] Update comingEpisodes.tmpl to prevent a 'NotFound' error for cur_ep_enddate --- gui/slick/interfaces/default/comingEpisodes.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/slick/interfaces/default/comingEpisodes.tmpl b/gui/slick/interfaces/default/comingEpisodes.tmpl index ec0a34a9..f6480fe6 100644 --- a/gui/slick/interfaces/default/comingEpisodes.tmpl +++ b/gui/slick/interfaces/default/comingEpisodes.tmpl @@ -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():