mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Fix setting items to Failed on Manage/Episode Status page.
Fix history page provider icons in Layout Detailed.
This commit is contained in:
parent
2a63ab9c78
commit
c3a4e12746
2 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@
|
|||
#end if
|
||||
#else
|
||||
#if 0 < $hItem['provider']
|
||||
#if $curStatus in [$SNATCHED_ANY, $FAILED]
|
||||
#if $curStatus in $SNATCHED_ANY + [$FAILED]
|
||||
#set $provider = $providers.getProviderClass($generic.GenericProvider.make_id($hItem['provider']))
|
||||
#if None is not $provider
|
||||
<img src="$sbRoot/images/providers/<%= provider.image_name() %>" width="16" height="16" /><span>$provider.name</span>
|
||||
|
|
|
@ -2073,7 +2073,7 @@ class Home(MainHandler):
|
|||
|
||||
logger.log(u'Attempting to set status on episode %s to %s' % (curEp, status), logger.DEBUG)
|
||||
|
||||
ep_obj = showObj.getEpisode(*tuple(curEp.split('x')))
|
||||
ep_obj = showObj.getEpisode(*tuple([int(x) for x in curEp.split('x')]))
|
||||
|
||||
if ep_obj is None:
|
||||
return self._genericMessage('Error', 'Episode couldn\'t be retrieved')
|
||||
|
@ -2155,7 +2155,7 @@ class Home(MainHandler):
|
|||
sickbeard.searchQueueScheduler.action.add_item(cur_failed_queue_item)
|
||||
|
||||
msg += '<li>Season %s</li>' % season
|
||||
logger.log(u'Retrying search for %s season %s because some eps were set to failed',
|
||||
logger.log(u'Retrying search for %s season %s because some eps were set to failed' %
|
||||
(showObj.name, season))
|
||||
|
||||
msg += '</ul>'
|
||||
|
|
Loading…
Reference in a new issue