mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
fix for issues #321 and 258
This commit is contained in:
parent
6ee60d213a
commit
16441c0582
@ -40,7 +40,6 @@ def fixStupidEncodings(x, silent=False):
|
|||||||
logger.DEBUG if silent else logger.ERROR)
|
logger.DEBUG if silent else logger.ERROR)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return None
|
|
||||||
|
|
||||||
|
|
||||||
def fixListEncodings(x):
|
def fixListEncodings(x):
|
||||||
|
@ -971,7 +971,7 @@ def get_show_by_name(name):
|
|||||||
sickbeard.name_cache.addNameToCache(name, indexerid if indexerid else 0)
|
sickbeard.name_cache.addNameToCache(name, indexerid if indexerid else 0)
|
||||||
|
|
||||||
if indexerid:
|
if indexerid:
|
||||||
logger.log(u"Found Indexer ID:[" + repr(indexerid) + "], using that for [" + name + "}",logger.DEBUG)
|
logger.log(u"Found Indexer ID:[" + repr(indexerid) + "], using that for [" + str(name) + "}",logger.DEBUG)
|
||||||
if not showObj:
|
if not showObj:
|
||||||
showObjList = [x for x in sickbeard.showList if x.indexerid == indexerid]
|
showObjList = [x for x in sickbeard.showList if x.indexerid == indexerid]
|
||||||
if len(showObjList):
|
if len(showObjList):
|
||||||
|
@ -360,7 +360,7 @@ class HDTorrentsCache(tvcache.TVCache):
|
|||||||
if not title or not url:
|
if not title or not url:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
logger.log(u"Adding item to cache: " + title, logger.DEBUG)
|
logger.log(u"Adding item to cache: " + str(title), logger.DEBUG)
|
||||||
|
|
||||||
return self._addCacheEntry(title, url)
|
return self._addCacheEntry(title, url)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user