From 2b0b0dd885a751a8780a821f57735730c77c1592 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 7 Jul 2014 05:55:42 -0700 Subject: [PATCH] Finally thanks to the new error handlers we have resolved the dredded issue 500 errors, enjoy! --- gui/slick/interfaces/default/home.tmpl | 2 +- gui/slick/interfaces/default/inc_bottom.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/slick/interfaces/default/home.tmpl b/gui/slick/interfaces/default/home.tmpl index 952732bc..58c3fa9d 100644 --- a/gui/slick/interfaces/default/home.tmpl +++ b/gui/slick/interfaces/default/home.tmpl @@ -296,7 +296,7 @@ $myShowList.sort(lambda x, y: cmp(x.name, y.name)) //--> - \"Y\"" + \"Y\"" $curShow.status diff --git a/gui/slick/interfaces/default/inc_bottom.tmpl b/gui/slick/interfaces/default/inc_bottom.tmpl index 7a34c25a..9e77c115 100644 --- a/gui/slick/interfaces/default/inc_bottom.tmpl +++ b/gui/slick/interfaces/default/inc_bottom.tmpl @@ -12,7 +12,7 @@ #if $sickbeard.showList: #set $numShows = len($sickbeard.showList) -#set $numGoodShows = len([x for x in $sickbeard.showList if x.paused == 0 and "Ended" not in x.status]) +#set $numGoodShows = len([x for x in $sickbeard.showList if x.paused == 0 and x.status != "Ended"]) #else #set $numShows = 0 #set $numGoodShows = 0