From 5e9daaf8c66dec730d41f94e5131e119257c4a81 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 6 Jul 2014 23:38:47 +0800 Subject: [PATCH] Fixes blank release group field for animes on history page --- gui/slick/interfaces/default/history.tmpl | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/gui/slick/interfaces/default/history.tmpl b/gui/slick/interfaces/default/history.tmpl index 802f5cf4..2742e969 100644 --- a/gui/slick/interfaces/default/history.tmpl +++ b/gui/slick/interfaces/default/history.tmpl @@ -119,16 +119,8 @@ #if $curStatus == DOWNLOADED: - #set $match = $re.search("\-(\w+)\.\w{3}\Z", $os.path.basename($hItem["resource"])) - #if $match - #if $match.group(1).upper() in ("X264", "720P"): - #set $match = $re.search("(\w+)\-.*\-"+$match.group(1)+"\.\w{3}\Z", $os.path.basename($hItem["resource"]), re.IGNORECASE) - #if $match - $match.group(1).upper() - #end if - #else: - $match.group(1).upper() - #end if + #if $hItem["provider"] != "-1": + $hItem["provider"] #end if #else #if $hItem["provider"] > 0