1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix for displayshows error: ValueError: invalid literal for int() with base 10: ''

This commit is contained in:
echel0n 2014-07-07 09:32:04 -07:00
parent 561a12a735
commit 8063ac5d7a

View File

@ -329,9 +329,8 @@
#end if #end if
</td> </td>
<td> <td>
#if $epResult["location"] != "" and $epResult["location"] != None: #if $epResult["location"]:
#set $root_dirs = $sickbeard.ROOT_DIRS.split('|') #set $video_root = $epResult["location"].strip($epResult["name"])
#set $video_root = $root_dirs[int(root_dirs[0]) + 1]
<video id="$epResult["indexerid"]" class="video-js vjs-default-skin" <video id="$epResult["indexerid"]" class="video-js vjs-default-skin"
controls preload="none" width="64" height="64" controls preload="none" width="64" height="64"
poster="$sbRoot/showPoster/?show=$show.indexerid&amp;which=poster_thumb" data-setup="{}"> poster="$sbRoot/showPoster/?show=$show.indexerid&amp;which=poster_thumb" data-setup="{}">