Private GIT

Skip to content
Snippets Groups Projects
Commit 7a0f7af6 authored by echel0n's avatar echel0n
Browse files

Fixed TrendingShows regex issue

parent 9257a5f2
Branches
Tags
No related merge requests found
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
#else #else
#for $cur_show in $trending_shows: #for $cur_show in $trending_shows:
#set $image = re.sub(r'(.*)(\..*?)$', r'\1-300\2', $cur_show['images']['poster'], 0, re.IGNORECASE | re.MULTILINE) #set $image = re.sub(r'(?im)(.*)(\..*?)$', r'\1-300\2', $cur_show['images']['poster'], 0)
<div class="trakt_show" data-name="$cur_show['title']" data-rating="$cur_show['ratings']['percentage']" data-votes="$cur_show['ratings']['votes']"> <div class="trakt_show" data-name="$cur_show['title']" data-rating="$cur_show['ratings']['percentage']" data-votes="$cur_show['ratings']['votes']">
<div class="traktContainer"> <div class="traktContainer">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment