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
1 changed files with 2 additions and 3 deletions

View File

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