mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 02:23:38 +00: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:
commit
773ac7e9e1
1 changed files with 2 additions and 10 deletions
|
@ -119,16 +119,8 @@
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
#if $curStatus == DOWNLOADED:
|
#if $curStatus == DOWNLOADED:
|
||||||
#set $match = $re.search("\-(\w+)\.\w{3}\Z", $os.path.basename($hItem["resource"]))
|
#if $hItem["provider"] != "-1":
|
||||||
#if $match
|
<i>$hItem["provider"]</i>
|
||||||
#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
|
|
||||||
#end if
|
#end if
|
||||||
#else
|
#else
|
||||||
#if $hItem["provider"] > 0
|
#if $hItem["provider"] > 0
|
||||||
|
|
Loading…
Reference in a new issue