1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Merge pull request #629 from adam111316/fix_releasegroup_history

Fixes blank release group field for animes on history page
This commit is contained in:
echel0n 2014-07-06 08:46:25 -07:00
commit 773ac7e9e1

View File

@ -119,16 +119,8 @@
</td>
<td align="center">
#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
<i>$match.group(1).upper()</i>
#end if
#else:
<i>$match.group(1).upper()</i>
#end if
#if $hItem["provider"] != "-1":
<i>$hItem["provider"]</i>
#end if
#else
#if $hItem["provider"] > 0