diff --git a/sickbeard/encodingKludge.py b/sickbeard/encodingKludge.py index 4b3a9b03..53f4e63c 100644 --- a/sickbeard/encodingKludge.py +++ b/sickbeard/encodingKludge.py @@ -40,7 +40,6 @@ def fixStupidEncodings(x, silent=False): logger.DEBUG if silent else logger.ERROR) return None - return None def fixListEncodings(x): diff --git a/sickbeard/helpers.py b/sickbeard/helpers.py index 59dbb21c..cef3ad7e 100644 --- a/sickbeard/helpers.py +++ b/sickbeard/helpers.py @@ -971,7 +971,7 @@ def get_show_by_name(name): sickbeard.name_cache.addNameToCache(name, indexerid if indexerid else 0) 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: showObjList = [x for x in sickbeard.showList if x.indexerid == indexerid] if len(showObjList): diff --git a/sickbeard/providers/hdtorrents.py b/sickbeard/providers/hdtorrents.py index cc65c171..cd4ee5b0 100644 --- a/sickbeard/providers/hdtorrents.py +++ b/sickbeard/providers/hdtorrents.py @@ -360,7 +360,7 @@ class HDTorrentsCache(tvcache.TVCache): if not title or not url: 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) diff --git a/sickbeard/providers/publichd.py b/sickbeard/providers/publichd.py index 1cf70003..e877f5ff 100644 --- a/sickbeard/providers/publichd.py +++ b/sickbeard/providers/publichd.py @@ -142,7 +142,7 @@ class PublicHDProvider(generic.TorrentProvider): #remove unneccecary